Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed typo in GL_UpdateClipRect

  • Loading branch information
gabomdq committed May 10, 2013
1 parent 0910c13 commit 26973e65cb34fcac076609eaf311783cc3086dbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/render/opengl/SDL_render_gl.c
@@ -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);
}

0 comments on commit 26973e6

Please sign in to comment.