diff options
Diffstat (limited to 'src/glx/apple/apple_glx_surface.c')
-rw-r--r-- | src/glx/apple/apple_glx_surface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/apple/apple_glx_surface.c b/src/glx/apple/apple_glx_surface.c index 6db2910a464..39f513034dc 100644 --- a/src/glx/apple/apple_glx_surface.c +++ b/src/glx/apple/apple_glx_surface.c @@ -53,8 +53,7 @@ update_viewport_and_scissor(Display * dpy, GLXDrawable drawable) XGetGeometry(dpy, drawable, &root, &x, &y, &width, &height, &bd, &depth); - glViewport(0, 0, width, height); - glScissor(0, 0, width, height); + apple_glapi_oglfw_viewport_scissor(0, 0, width, height); } static bool |