mirror of
https://github.com/yawut/SDL.git
synced 2026-09-09 17:46:31 -05:00
Fixed typo in GL_UpdateClipRect
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user