summaryrefslogtreecommitdiff
path: root/src/glx/x11/indirect_vertex_program.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-02-28 19:37:10 +0000
committerIan Romanick <idr@us.ibm.com>2005-02-28 19:37:10 +0000
commit03dc437363429d275b7f8cae74201a8e7993a52b (patch)
treed96f3471bb27b834aa25ecb34ea787d9fd1c7738 /src/glx/x11/indirect_vertex_program.c
parent80875253ce0e166bd8f529ba9b869139ce82902a (diff)
Clean-up some warnings caused by the addition of vertex / fragment program
protocol support (reported by Adam Jackson). Added code to validate the 'type' parameter to the draw element functions.
Diffstat (limited to 'src/glx/x11/indirect_vertex_program.c')
-rw-r--r--src/glx/x11/indirect_vertex_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/indirect_vertex_program.c b/src/glx/x11/indirect_vertex_program.c
index 93fd9a3c45..d0f0d27048 100644
--- a/src/glx/x11/indirect_vertex_program.c
+++ b/src/glx/x11/indirect_vertex_program.c
@@ -56,7 +56,7 @@ void __indirect_glDisableVertexAttribArrayARB( GLuint index )
static void
get_parameter( unsigned opcode, unsigned size, GLenum target, GLuint index,
- GLfloat * params )
+ void * params )
{
__GLXcontext * const gc = __glXGetCurrentContext();
Display * const dpy = gc->currentDpy;