diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/gles2/renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index a5521909..50689ad4 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -73,8 +73,8 @@ static void gles2_scissor(struct wlr_renderer *wlr_renderer, PUSH_GLES2_DEBUG; if (box != NULL) { struct wlr_box gl_box; - wlr_box_transform(box, WL_OUTPUT_TRANSFORM_FLIPPED_180, - renderer->viewport_width, renderer->viewport_height, &gl_box); + wlr_box_transform(&gl_box, box, WL_OUTPUT_TRANSFORM_FLIPPED_180, + renderer->viewport_width, renderer->viewport_height); glScissor(gl_box.x, gl_box.y, gl_box.width, gl_box.height); glEnable(GL_SCISSOR_TEST); |