summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_glx_pbuffer.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2011-10-21 00:22:40 -0700
committerJeremy Huddleston <[email protected]>2011-10-21 00:34:06 -0700
commit9f2abbee6215d89e48b7fe042f8a905997f5c232 (patch)
tree372bdc82089b5f60c1feaa1bdac3950af39ba1bd /src/glx/apple/apple_glx_pbuffer.c
parent098ecfad83a63bd8eb04c37f268c18d8744dff2c (diff)
apple: Use the correct (OpenGL.framework) glViewport and glScissor during init
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/apple/apple_glx_pbuffer.c')
-rw-r--r--src/glx/apple/apple_glx_pbuffer.c3
1 files changed, 1 insertions, 2 deletions
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;
}