Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
The OpenTK Library provided in Monotouch 5.2 IS NOT compatible with OpenTK 1.0 API.
Several Enumerations are missing, including
PixelStoreParameter, ActiveAttribType, ActiveUniformType, ShaderType, BufferTarget, BlendEquationMode...
The Monotouch OpenTK.Graphics.ES20.GL object typically expects the "All" enumeration as it's parameters
The Standard OpenTK 1.0 Same object uses the more strongly typed Enumerations in almost all cases.
Compare the two APIs here
(Xamarin here uses the weakly typed All enumeration)
(OpenTK Standard uses strongly typed enumerations)
Make the OpenTK.Graphics.ES20 namespace actually match the standard OpenTK 1.0 API exactly.
If backwards compatibility is an issue, then I recommend overloading the existing methods with versions that take the strongly typed Enumerations as parameters.
Fixed (fea26173 master).
This will be included in the upcoming 5.3 beta - note that I've created a new OpenTK-1.0.dll assembly which contains the new (backwards incompatible) API.
OpenTK.dll will continue to exist, but with the old API.
Created attachment 1428 [details]
I've attached the current OpenTK-1.0.dll if you want to try it out - just unzip and reference the dll in there from your project.