From 9f2abbee6215d89e48b7fe042f8a905997f5c232 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 21 Oct 2011 00:22:40 -0700 Subject: apple: Use the correct (OpenGL.framework) glViewport and glScissor during init Signed-off-by: Jeremy Huddleston --- src/glx/apple/apple_glx_pbuffer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/glx/apple/apple_glx_pbuffer.c') diff --git a/src/glx/apple/apple_glx_pbuffer.c b/src/glx/apple/apple_glx_pbuffer.c index 2817cda23b7..142f4cce994 100644 --- a/src/glx/apple/apple_glx_pbuffer.c +++ b/src/glx/apple/apple_glx_pbuffer.c @@ -84,8 +84,7 @@ pbuffer_make_current(struct apple_glx_context *ac, } if (!ac->made_current) { - glViewport(0, 0, pbuf->width, pbuf->height); - glScissor(0, 0, pbuf->width, pbuf->height); + apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height); ac->made_current = true; } -- cgit v1.2.3