I downloaded the latest PVR SDK ( for OpenGL ES 2.0 for Win 32.

The problem is that any call to glEnable(GL_TEXTURE_2D) returns error code 500 : GL_INVALID_ENUM. The same happens with glDisable(GL_TEXTURE_2D).


Is this a bug in the emulator or is it OpenGL ES 2.0 standard that the GL_TEXTURE_2D should never be passed?

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.

Hi Joe,

 Thanks a lot for quick response.