summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_glx_pixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_glx_pixmap.c')
-rw-r--r--src/glx/apple/apple_glx_pixmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/apple/apple_glx_pixmap.c b/src/glx/apple/apple_glx_pixmap.c
index 4586707909b..bee0ec98bef 100644
--- a/src/glx/apple/apple_glx_pixmap.c
+++ b/src/glx/apple/apple_glx_pixmap.c
@@ -80,8 +80,7 @@ pixmap_make_current(struct apple_glx_context *ac,
}
if (!ac->made_current) {
- glViewport(0, 0, p->width, p->height);
- glScissor(0, 0, p->width, p->height);
+ apple_glapi_oglfw_viewport_scissor(0, 0, p->width, p->height);
ac->made_current = true;
}