
Invalid GL call
Posted Wednesday, 25 July, 2012 - 18:36 by betafy| Project: | The Open Toolkit library |
| Version: | 1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (invalid) |
Jump to:
Description
While attempting to use GL.TexParameterI(TextureTarget,TextureParameterName,int[]), .NET could not find the designated method in opengl32.dll.
Stack trace: "System.EntryPointNotFoundException: Unable to find an entry point named 'glTexParameterIiv' in DLL 'opengl32.dll'."


Comments
#1
In OpenGL you need to check whether an extension is present before you use it (note the "I" suffix of Texparameter)