From 345ed3ac8c5a26b8d99c21cf467d05da7e8edfc8 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 1 Dec 2004 08:02:50 +0000 Subject: 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. --- src/glx/x11/pixelstore.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/glx/x11/pixelstore.c') 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; -- cgit v1.2.3