glDisable(GL_MATRIX_PALETTE_OES) Issue

This topic contains 0 replies, has 1 voice, and was last updated by  Olivier Nemoz 6 years, 10 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #30451

    Hi,

    I’m running OGLES_WINDOWS_PCEMULATION_2.07.27.0484 on Windows 7.

    It looks like calling glDisable(GL_MATRIX_PALETTE_OES) before calling glTexImage2D causes glTexImage2D to return an odd GL_INVALID_ENUM error.

    The bug is easily reproducible in the OGLESTexturing sample :

    – glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, g_i32TexSize, g_i32TexSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, pTexData);

    + glDisable(GL_MATRIX_PALETTE_OES);

    + assert (glGetError() == 0);

    + glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, g_i32TexSize, g_i32TexSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, pTexData);

    + assert (glGetError() == 0); // glGetError == GL_INVALID_ENUM

    Thank you in advance,

    Olivier

Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.