diff options
author | Brian Paul <[email protected]> | 2001-07-23 16:08:59 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-07-23 16:08:59 +0000 |
commit | 3c03f3232dcd490b76b3e73d92f1039e4366d7b5 (patch) | |
tree | 1caf1f566dc8c7d40a147ce9187ec072d4ee31f4 /src | |
parent | 4fa5c1966a985f81c615a9f5ef2f64dd466b252a (diff) |
fix some Win32 warnings (Gerk Huisma)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/tnl/t_imm_dlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_imm_dlist.c b/src/mesa/tnl/t_imm_dlist.c index 1708905ac55..7e98f6add08 100644 --- a/src/mesa/tnl/t_imm_dlist.c +++ b/src/mesa/tnl/t_imm_dlist.c @@ -1,4 +1,4 @@ -/* $Id: t_imm_dlist.c,v 1.23 2001/07/17 21:44:37 keithw Exp $ */ +/* $Id: t_imm_dlist.c,v 1.24 2001/07/23 16:08:59 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -556,14 +556,14 @@ static void loopback_compiled_cassette( GLcontext *ctx, struct immediate *IM ) GLuint orflag = IM->OrFlag; GLuint j; void (*vertex)( const GLfloat * ); - void (*texcoordfv[MAX_TEXTURE_UNITS])( GLuint, const GLfloat * ); + void (*texcoordfv[MAX_TEXTURE_UNITS])( GLenum, const GLfloat * ); GLuint maxtex = 0; GLuint p, length, prim = 0; if (orflag & VERT_OBJ_234) - vertex = glVertex4fv; + vertex = (void (*)(const GLfloat *)) glVertex4fv; else - vertex = glVertex3fv; + vertex = (void (*)(const GLfloat *)) glVertex3fv; if (orflag & VERT_TEX_ANY) { for (j = 0 ; j < ctx->Const.MaxTextureUnits ; j++) { |