Changeset 724


Ignore:
Timestamp:
Mar 6, 2011, 4:05:06 PM (11 years ago)
Author:
sam
Message:

gl: use glActiveTexture() instead of glClientActiveTexture() to match
the GLES2 codepath.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/debugquad.cpp

    r704 r724  
    179179
    180180    /* Bind texture */
    181     glClientActiveTexture(GL_TEXTURE0);
     181    glActiveTexture(GL_TEXTURE0);
    182182    glBindTexture(GL_TEXTURE_2D, data->texlist[0]);
    183183
  • trunk/src/tileset.cpp

    r704 r724  
    172172    if (!data->img && data->texture)
    173173    {
    174         glClientActiveTexture(GL_TEXTURE0);
     174        glActiveTexture(GL_TEXTURE0);
    175175        glBindTexture(GL_TEXTURE_2D, data->texture);
    176176    }
Note: See TracChangeset for help on using the changeset viewer.