betafy's picture

Invalid GL call

Project:The Open Toolkit library
Version:1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (invalid)
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Inertia's picture

#1

Status:open» closed (invalid)

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