Forums - Open GL ES 3.1 Emulator

1 post / 0 new
Open GL ES 3.1 Emulator
ArnO
Join Date: 23 Oct 13
Posts: 1
Posted: Mon, 2016-02-15 11:14

There appears to be a bug in the windows version of the emulator that causes glGetError to return a error code even when no error ought to have occurred. The demo actually runs perfectly fine if glGetError checks are removed.

This only occurs when running OpenGL ES 3.1.

 

 

This code triggers the issue:

GLenum e0 = glGetError(); // e0 == GL_NO_ERROR

GLuint handle = glCreateProgram();   // handle is valid

GLenum e1 = glGetError(); // e1 == GL_INVALID_OPERATION

 

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.