Fixed typo in GL_UpdateClipRect
authorGabriel Jacobo <gabomdq@gmail.com>
Fri, 10 May 2013 10:33:15 -0300
changeset 71611619292eec30
parent 7160 bfb5f8f4f006
child 7162 f2fb5a030227
Fixed typo in GL_UpdateClipRect
src/render/opengl/SDL_render_gl.c
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Fri May 10 10:31:01 2013 -0300
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Fri May 10 10:33:15 2013 -0300
     1.3 @@ -794,7 +794,7 @@
     1.4  
     1.5      if (!SDL_RectEmpty(rect)) {
     1.6          data->glEnable(GL_SCISSOR_TEST);
     1.7 -        data->glScissor(rect->x, rect->h - rect->y, rect->x, rect->y);
     1.8 +        data->glScissor(rect->x, rect->h - rect->y, rect->w, rect->h);
     1.9      } else {
    1.10          data->glDisable(GL_SCISSOR_TEST);
    1.11      }