Bug 2138 - OpenTK GetRenderbufferParameter fails
Summary: OpenTK GetRenderbufferParameter fails
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 2.0
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-11-21 17:36 UTC by Jonathan Pobst
Modified: 2013-05-21 14:47 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Jonathan Pobst 2011-11-21 17:36:57 UTC
From https://bugzilla.novell.com/show_bug.cgi?id=680643.


These calls fail in ES 1.1. *and* ES 2.0 (respectively). They work fine in
MonoTouch! Please check the other parameters too, there are a lot more that
don't return anything!

ES 1.1:

int alphasize = 999;
All.RenderbufferAlphaSizeOes,ref alphasize);

ES 2.0:

int alphasize = 999;
All.RenderbufferInternalFormatOes,ref alphasize);

Reproducible: Always

Steps to Reproduce:
1. Enter above code and run
Actual Results:  
Alphasize is still 999 after the function call

Expected Results:  
alphasize should be 8 or 1 or whatever it is.
Comment 1 Peter Collins 2013-05-21 14:47:15 UTC
The acceptable arguments for GetRenderbufferParameter() have changed, and no longer accept a ref int. I am unable to reproduce this issue on our current stable build of Xamarin.Android. Also, the GetRenderbufferParameter no longer seems to exist in our ES 2.0 API.

Please reopen this bug with a new reproduction case if the issue still exists.