aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_xgl_api_read.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2011-06-07 21:00:23 -0400
committerJeremy Huddleston <[email protected]>2011-06-07 23:06:35 -0700
commit88cec591706ff63870c9c2a04394034b6f761f9c (patch)
tree4c44fc2145c5518c792253c534b7016e2585c587 /src/glx/apple/apple_xgl_api_read.c
parent19b9e523c5db746b2debed8306d9d3e4d2f709aa (diff)
apple: Rename __gl_api to __ogl_framework_api
In starting the migration to using mapi, rename __gl_api to __ogl_framework_api since it is a vtable for OpenGL.framework Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/apple/apple_xgl_api_read.c')
-rw-r--r--src/glx/apple/apple_xgl_api_read.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glx/apple/apple_xgl_api_read.c b/src/glx/apple/apple_xgl_api_read.c
index 45850b97088..4a8873f03ad 100644
--- a/src/glx/apple/apple_xgl_api_read.c
+++ b/src/glx/apple/apple_xgl_api_read.c
@@ -38,7 +38,7 @@
#include "apple_glx_context.h"
#include "apple_xgl_api.h"
-extern struct apple_xgl_api __gl_api;
+extern struct apple_xgl_api __ogl_framework_api;
struct apple_xgl_saved_state
{
@@ -102,7 +102,7 @@ glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height,
SetRead(&saved);
- __gl_api.ReadPixels(x, y, width, height, format, type, pixels);
+ __ogl_framework_api.ReadPixels(x, y, width, height, format, type, pixels);
UnsetRead(&saved);
}
@@ -114,7 +114,7 @@ glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
SetRead(&saved);
- __gl_api.CopyPixels(x, y, width, height, type);
+ __ogl_framework_api.CopyPixels(x, y, width, height, type);
UnsetRead(&saved);
}
@@ -127,7 +127,7 @@ glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y,
SetRead(&saved);
- __gl_api.CopyColorTable(target, internalformat, x, y, width);
+ __ogl_framework_api.CopyColorTable(target, internalformat, x, y, width);
UnsetRead(&saved);
}