Fixed typo in GL_UpdateClipRect

This commit is contained in:
Gabriel Jacobo 2013-05-10 10:33:15 -03:00
parent 7065c6467d
commit 293da630b8

View file

@ -794,7 +794,7 @@ GL_UpdateClipRect(SDL_Renderer * renderer)
if (!SDL_RectEmpty(rect)) {
data->glEnable(GL_SCISSOR_TEST);
data->glScissor(rect->x, rect->h - rect->y, rect->x, rect->y);
data->glScissor(rect->x, rect->h - rect->y, rect->w, rect->h);
} else {
data->glDisable(GL_SCISSOR_TEST);
}