summaryrefslogtreecommitdiff
path: root/src/glx/x11/g_vendpriv.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/g_vendpriv.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/g_vendpriv.c')
-rw-r--r--src/glx/x11/g_vendpriv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glx/x11/g_vendpriv.c b/src/glx/x11/g_vendpriv.c
index 59734091e6..b6df2fb372 100644
--- a/src/glx/x11/g_vendpriv.c
+++ b/src/glx/x11/g_vendpriv.c
@@ -30,7 +30,7 @@
#include "packvendpriv.h"
-GLboolean glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences)
+GLboolean __indirect_glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences)
{
__GLX_VENDPRIV_DECLARE_VARIABLES();
GLboolean retval = 0;
@@ -48,7 +48,7 @@ GLboolean glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean
return retval;
}
-void glDeleteTexturesEXT(GLsizei n, const GLuint *textures)
+void __indirect_glDeleteTexturesEXT(GLsizei n, const GLuint *textures)
{
__GLX_VENDPRIV_DECLARE_VARIABLES();
__GLX_VENDPRIV_LOAD_VARIABLES();
@@ -60,7 +60,7 @@ void glDeleteTexturesEXT(GLsizei n, const GLuint *textures)
__GLX_VENDPRIV_END();
}
-void glGenTexturesEXT(GLsizei n, GLuint *textures)
+void __indirect_glGenTexturesEXT(GLsizei n, GLuint *textures)
{
__GLX_VENDPRIV_DECLARE_VARIABLES();
xGLXVendorPrivReply reply;
@@ -72,7 +72,7 @@ void glGenTexturesEXT(GLsizei n, GLuint *textures)
__GLX_VENDPRIV_END();
}
-GLboolean glIsTextureEXT(GLuint texture)
+GLboolean __indirect_glIsTextureEXT(GLuint texture)
{
__GLX_VENDPRIV_DECLARE_VARIABLES();
GLboolean retval = 0;