dri: Avoid swapbuffer throttling in glXCopySubBufferMESA
[mesa.git] / src / glx / apple / apple_glx_pixmap.c
index 4586707909b69c1d855a8c7912c319b91af13625..bee0ec98bef203793829224a3ed18be6f6a9b036 100644 (file)
@@ -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;
    }