Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed typo in GL_UpdateClipRect
Browse files Browse the repository at this point in the history
  • Loading branch information
gabomdq committed May 10, 2013
1 parent 0910c13 commit 26973e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/opengl/SDL_render_gl.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 26973e6

Please sign in to comment.