diff options
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/Makefile | 3 | ||||
-rw-r--r-- | src/glx/SConscript | 3 | ||||
-rw-r--r-- | src/glx/glxcmds.c | 2 | ||||
-rw-r--r-- | src/glx/indirect.c | 4 | ||||
-rw-r--r-- | src/glx/indirect.h | 3 |
5 files changed, 0 insertions, 15 deletions
diff --git a/src/glx/Makefile b/src/glx/Makefile index f702f952ce7..b86bd73be34 100644 --- a/src/glx/Makefile +++ b/src/glx/Makefile @@ -49,10 +49,7 @@ SOURCES = \ applegl_glx.c -ifeq ($(SHARED_GLAPI),1) GL_LIB_DEPS := -L$(TOP)/$(LIB_DIR) -l$(GLAPI_LIB) $(GL_LIB_DEPS) -EXTRA_DEFINES += -DGLX_SHARED_GLAPI -endif # override GLAPI_LIB GLAPI_LIB = $(TOP)/src/mapi/glapi/libglapi.a diff --git a/src/glx/SConscript b/src/glx/SConscript index 17a5690ee86..d08ae9e2c50 100644 --- a/src/glx/SConscript +++ b/src/glx/SConscript @@ -31,9 +31,6 @@ if env['HAVE_XF86VIDMODE']: env.Append(CPPDEFINES = ['XF86VIDMODE']) env.PkgUseModules('XF86VIDMODE') -if False: # XXX: SHARED_GLAPI - env.Append(CPPDEFINES = ['GLX_SHARED_GLAPI']) - sources = [ 'clientattrib.c', 'clientinfo.c', diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 37c09336749..35f98a3aca2 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -2647,9 +2647,7 @@ _X_EXPORT void (*glXGetProcAddressARB(const GLubyte * procName)) (void) f = (gl_function) get_glx_proc_address((const char *) procName); if ((f == NULL) && (procName[0] == 'g') && (procName[1] == 'l') && (procName[2] != 'X')) { -#ifdef GLX_SHARED_GLAPI f = (gl_function) __indirect_get_proc_address((const char *) procName); -#endif if (!f) f = (gl_function) _glapi_get_proc_address((const char *) procName); if (!f) { diff --git a/src/glx/indirect.c b/src/glx/indirect.c index a6b0c0d6dac..b8e14add410 100644 --- a/src/glx/indirect.c +++ b/src/glx/indirect.c @@ -10672,8 +10672,6 @@ __indirect_glFramebufferTextureLayerEXT(GLenum target, GLenum attachment, } -#ifdef GLX_SHARED_GLAPI - static const struct proc_pair { const char *name; _glapi_proc proc; @@ -10729,8 +10727,6 @@ __indirect_get_proc_address(const char *name) return (pair) ? pair->proc : NULL; } -#endif /* GLX_SHARED_GLAPI */ - #undef FASTCALL #undef NOINLINE diff --git a/src/glx/indirect.h b/src/glx/indirect.h index b1fee9fc1a0..f76201b64f1 100644 --- a/src/glx/indirect.h +++ b/src/glx/indirect.h @@ -711,10 +711,7 @@ extern _X_HIDDEN GLboolean __indirect_glIsRenderbufferEXT(GLuint renderbuffer); extern _X_HIDDEN void __indirect_glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); extern _X_HIDDEN void __indirect_glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); extern _X_HIDDEN void __indirect_glFramebufferTextureLayerEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); - -#ifdef GLX_SHARED_GLAPI extern _X_HIDDEN void (*__indirect_get_proc_address(const char *name))(void); -#endif # undef FASTCALL # undef NOINLINE |