diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-07 19:26:53 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-07 23:06:36 -0700 |
commit | e157f381f21a1d5307f64b6ec3cc1b26d4ddf576 (patch) | |
tree | c7918cf57acbd0f432bb220820435817c9abdd72 /src/glx/glxcmds.c | |
parent | 7d215e7c4d0ca8a18d91d4f30f79b97835a6d6c4 (diff) | |
download | external_mesa3d-e157f381f21a1d5307f64b6ec3cc1b26d4ddf576.zip external_mesa3d-e157f381f21a1d5307f64b6ec3cc1b26d4ddf576.tar.gz external_mesa3d-e157f381f21a1d5307f64b6ec3cc1b26d4ddf576.tar.bz2 |
apple: Remove apple_glx_get_proc_address
Now that we're using glapi, we don't need to special case this.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src/glx/glxcmds.c')
-rw-r--r-- | src/glx/glxcmds.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 783a159..774d38b 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -2479,7 +2479,6 @@ static const struct name_address_pair GLX_functions[] = { {NULL, NULL} /* end of list */ }; -#ifndef GLX_USE_APPLEGL static const GLvoid * get_glx_proc_address(const char *funcName) { @@ -2493,7 +2492,6 @@ get_glx_proc_address(const char *funcName) return NULL; } -#endif /** * Get the address of a named GL function. This is the pre-GLX 1.4 name for @@ -2516,9 +2514,6 @@ _X_EXPORT void (*glXGetProcAddressARB(const GLubyte * procName)) (void) * DRI based drivers from searching the core GL function table for * internal API functions. */ -#ifdef GLX_USE_APPLEGL - f = (gl_function) apple_glx_get_proc_address(procName); -#else f = (gl_function) get_glx_proc_address((const char *) procName); if ((f == NULL) && (procName[0] == 'g') && (procName[1] == 'l') && (procName[2] != 'X')) { @@ -2528,7 +2523,6 @@ _X_EXPORT void (*glXGetProcAddressARB(const GLubyte * procName)) (void) if (!f) f = (gl_function) _glapi_get_proc_address((const char *) procName); } -#endif return f; } |