Home › Forums › PowerVR Insider Graphics › glEnable(GL_TEXTURE_2D) returns GL_INVALID_ENUM
This topic contains 2 replies, has 2 voices, and was last updated by nitknight 7 years, 3 months ago.
I downloaded the latest PVR SDK (2.06.26.0649) for OpenGL ES 2.0 for Win 32.
The calls you have mentioned are not valid in OpenGL ES 2.0. You can lookup acceptable parameters to the glEnable() function in the Khronos OpenGL ES 2.0 reference guide here.
The source code for the texturing training course within the SDK provides a simple example of how you should load, use and destroy textures within your application.