
GLCore.cs: EnableClientState()
Posted Friday, 29 January, 2010 - 07:29 by Anonymous| Project: | The Open Toolkit library |
| Version: | 1.0-beta-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
In Source\Compatibility\Graphics\GL\GLCore.cs functions:
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)]
internal extern static void EnableClientState(OpenTK.Graphics.EnableCap array);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)]
internal extern static void DisableClientState(OpenTK.Graphics.EnableCap array);
and same function use OpenTK.Graphics.EnableCap, but in docs http://www.talisman.org/opengl-1.1/Reference/glEnableClientState.html the are not EnableCap enumeration used. I think it must be special enum for it or not?
Thanks for work.


Comments
#1
Thanks, for some reason EnableClientState is defined to take EnableCap in gl.spec. However, the 3.2 spec (pdf) confirms that this is not correct - will look into this.
#2
Fixed in r2590.
#4
Closing issues fixed in opentk-1.0-beta-3.