summaryrefslogtreecommitdiff
path: root/src/glx/x11/pixelstore.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-12-01 08:02:50 +0000
committerIan Romanick <idr@us.ibm.com>2004-12-01 08:02:50 +0000
commit345ed3ac8c5a26b8d99c21cf467d05da7e8edfc8 (patch)
tree62e6d2e85a6ead0c097e22b8159d0705ec086d63 /src/glx/x11/pixelstore.c
parent249a5552f122c1ae7b58d1a5f693607d04c22e05 (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/pixelstore.c')
-rw-r--r--src/glx/x11/pixelstore.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/glx/x11/pixelstore.c b/src/glx/x11/pixelstore.c
index 31a3468824..61a282a3e2 100644
--- a/src/glx/x11/pixelstore.c
+++ b/src/glx/x11/pixelstore.c
@@ -34,14 +34,12 @@
**
*/
-#define NEED_GL_FUNCS_WRAPPED
#include "glxclient.h"
-#include "indirect_wrap.h"
/*
** Specify parameters that control the storage format of pixel arrays.
*/
-void glPixelStoref(GLenum pname, GLfloat param)
+void __indirect_glPixelStoref(GLenum pname, GLfloat param)
{
__GLXcontext *gc = __glXGetCurrentContext();
__GLXattribute * state = gc->client_state_private;
@@ -177,7 +175,7 @@ void glPixelStoref(GLenum pname, GLfloat param)
}
}
-void glPixelStorei(GLenum pname, GLint param)
+void __indirect_glPixelStorei(GLenum pname, GLint param)
{
__GLXcontext *gc = __glXGetCurrentContext();
__GLXattribute * state = gc->client_state_private;