Forums - "ES Emulator error: GL error: GL_INVALID_ENUM - found at the end of glDrawElements"

2 posts / 0 new
Last post
"ES Emulator error: GL error: GL_INVALID_ENUM - found at the end of glDrawElements"
Richard Turnbull
Join Date: 3 Feb 12
Location: Oxfordshire
Posts: 5
Posted: Wed, 2015-06-10 06:29

Hi,

Using the latest SDK (3.9, Windows) I'm receiving the aforementioned "ES Emulator error: GL error: GL_INVALID_ENUM - found at the end of glDrawElements" message after 'glDrawElements' calls.

I wrap all my calls in debug up with 'glGetError' calls which is firing I guess due to the above error. If I remove by debug wrapping for all calls the program executes as expected though.

Out of interest I tried compiling and running the 'AdrenoShaders' sample and that also outputs the same error. I seem to get the same result on two machines with AMD GPUs but have a feeling the ouput isn't thrown on an Intel GPU I tested on (I can confirm later).

Is this error something to be concerned with or a bug in the SDK? It's a minor inconvenience as to run anything using the emulator in debug I have to remove my error wrapping.

Cheers,
Richard

  • Up0
  • Down0
AndreyVK_D3D
Profile picture
Join Date: 10 Jun 13
Location: Moscow
Posts: 36
Posted: Tue, 2015-06-16 05:12

Hi, i have same error during calling glDrawElements, Adreno SDK 3.9 (Windows 7 X64, ATI HD 5670).

  • Up0
  • Down0
or Register

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.