diff options
author | Ian Romanick <[email protected]> | 2004-12-01 08:02:50 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-12-01 08:02:50 +0000 |
commit | 345ed3ac8c5a26b8d99c21cf467d05da7e8edfc8 (patch) | |
tree | 62e6d2e85a6ead0c097e22b8159d0705ec086d63 /src/glx/x11/clientattrib.c | |
parent | 249a5552f122c1ae7b58d1a5f693607d04c22e05 (diff) |
Make the transition to script-genereated GLX code easier.
Eliminate the need for indirect_wrap.h and NEED_GL_FUNCS_WRAPPED.
Basically, this means prepending __indirect_ to all the definitions and
calls of GL functions that don't already have it.
Diffstat (limited to 'src/glx/x11/clientattrib.c')
-rw-r--r-- | src/glx/x11/clientattrib.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/glx/x11/clientattrib.c b/src/glx/x11/clientattrib.c index 06729553112..298978fc0b6 100644 --- a/src/glx/x11/clientattrib.c +++ b/src/glx/x11/clientattrib.c @@ -35,12 +35,11 @@ */ #include <assert.h> -#define NEED_GL_FUNCS_WRAPPED #include "glxclient.h" /*****************************************************************************/ -void glEnableClientState(GLenum array) +void __indirect_glEnableClientState(GLenum array) { __GLXcontext *gc = __glXGetCurrentContext(); __GLXattribute * state = (__GLXattribute *)(gc->client_state_private); @@ -75,7 +74,7 @@ void glEnableClientState(GLenum array) } } -void glDisableClientState(GLenum array) +void __indirect_glDisableClientState(GLenum array) { __GLXcontext *gc = __glXGetCurrentContext(); __GLXattribute * state = (__GLXattribute *)(gc->client_state_private); @@ -112,7 +111,7 @@ void glDisableClientState(GLenum array) /************************************************************************/ -void glPushClientAttrib(GLuint mask) +void __indirect_glPushClientAttrib(GLuint mask) { __GLXcontext *gc = __glXGetCurrentContext(); __GLXattribute * state = (__GLXattribute *)(gc->client_state_private); @@ -138,7 +137,7 @@ void glPushClientAttrib(GLuint mask) } } -void glPopClientAttrib(void) +void __indirect_glPopClientAttrib(void) { __GLXcontext *gc = __glXGetCurrentContext(); __GLXattribute * state = (__GLXattribute *)(gc->client_state_private); |