Fixed typo in GL_UpdateClipRect

This commit is contained in:
Gabriel Jacobo
2013-05-10 10:33:15 -03:00
parent d4c2a87a5b
commit d36f97eb89

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);
}