diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-08 11:47:00 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-08 11:47:00 -0700 |
commit | 1b90d7d36bba4ca24099cd4c0d1cc3d8ac7ae415 (patch) | |
tree | ffef7460e2f2b57a97b8c013c41fc2c5f0b9c930 /src/glx | |
parent | 2835c5112de59a0713fe1c78efbe77ea855a3eed (diff) |
darwin: Use -fvisibility=hidden to set default symbol visibility
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/apple/apple_glapi.c | 4 | ||||
-rw-r--r-- | src/glx/apple/apple_xgl_api.h | 23 |
2 files changed, 7 insertions, 20 deletions
diff --git a/src/glx/apple/apple_glapi.c b/src/glx/apple/apple_glapi.c index 9957050988..f60cacece7 100644 --- a/src/glx/apple/apple_glapi.c +++ b/src/glx/apple/apple_glapi.c @@ -49,13 +49,9 @@ #define OPENGL_FRAMEWORK_PATH "/System/Library/Frameworks/OpenGL.framework/OpenGL" #endif -__private_extern__ struct _glapi_table * __ogl_framework_api = NULL; - -__private_extern__ struct _glapi_table * __applegl_api = NULL; -__private_extern__ void apple_xgl_init_direct(void) { static void *handle; const char *opengl_framework_path; diff --git a/src/glx/apple/apple_xgl_api.h b/src/glx/apple/apple_xgl_api.h index c6d8903a0b..2365d64788 100644 --- a/src/glx/apple/apple_xgl_api.h +++ b/src/glx/apple/apple_xgl_api.h @@ -29,24 +29,15 @@ #ifndef APPLE_XGL_API_H -__private_extern__ void -__applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, +void __applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +void __applegl_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); +void __applegl_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, + GLsizei width); -__private_extern__ void -__applegl_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); +void __applegl_glDrawBuffer(GLenum mode); +void __applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs); -__private_extern__ void -__applegl_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, - GLsizei width); - -__private_extern__ void -__applegl_glDrawBuffer(GLenum mode); - -__private_extern__ void -__applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs); - -__private_extern__ void -__applegl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height); +void __applegl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height); #endif |