Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed typo in GL_UpdateClipRect
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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); |
|
|
} |
|
|