X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fapple%2Fapple_glx_pixmap.c;h=bee0ec98bef203793829224a3ed18be6f6a9b036;hb=05f5282d6388feb58b7f5bd24394d68c29e33aad;hp=fec05e02de6bb35cb2b81997d168397dad39bb63;hpb=1218430e1200a08cd64b6555d3fd1fd0274ad9e5;p=mesa.git diff --git a/src/glx/apple/apple_glx_pixmap.c b/src/glx/apple/apple_glx_pixmap.c index fec05e02de6..bee0ec98bef 100644 --- a/src/glx/apple/apple_glx_pixmap.c +++ b/src/glx/apple/apple_glx_pixmap.c @@ -40,7 +40,7 @@ #include "apple_visual.h" #include "apple_glx_drawable.h" #include "appledri.h" -#include "glcontextmodes.h" +#include "glxconfig.h" static bool pixmap_make_current(struct apple_glx_context *ac, struct apple_glx_drawable *d); @@ -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; }