From 48af60b46540a30c3754f0e59801a62dfb1a146d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 17 Nov 2010 08:10:26 -0700 Subject: mesa: upgrade to glext.h version 66 The type of the num/count parameter to glProgramParameters4[df]vNV() changed so some API dispatch code needed updates too. --- src/mesa/main/dlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/main/dlist.c') diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 0c3c9fca36..6c0c556ad8 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -4784,9 +4784,9 @@ save_ExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params) static void GLAPIENTRY save_ProgramParameters4dvNV(GLenum target, GLuint index, - GLuint num, const GLdouble *params) + GLsizei num, const GLdouble *params) { - GLuint i; + GLint i; for (i = 0; i < num; i++) { save_ProgramEnvParameter4dvARB(target, index + i, params + 4 * i); } @@ -4795,9 +4795,9 @@ save_ProgramParameters4dvNV(GLenum target, GLuint index, static void GLAPIENTRY save_ProgramParameters4fvNV(GLenum target, GLuint index, - GLuint num, const GLfloat *params) + GLsizei num, const GLfloat *params) { - GLuint i; + GLint i; for (i = 0; i < num; i++) { save_ProgramEnvParameter4fvARB(target, index + i, params + 4 * i); } -- cgit v1.2.3