summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlist.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-02-26 18:02:13 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-02-26 18:02:13 +0000
commitbe42f5302091d792728172ba8fddebaddbddd0b1 (patch)
treee30e4f83ea29c24bb5d8aad4b0b7f6eb76bae159 /src/mesa/main/dlist.h
parenta764b7eae0e93245b0fb644d32e72226d4cf42f2 (diff)
Remove need to initialize the InstSize[] array elements by just storing
the instruction size in _mesa_alloc_instruction().
Diffstat (limited to 'src/mesa/main/dlist.h')
-rw-r--r--src/mesa/main/dlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h
index 007006a014..098468fd17 100644
--- a/src/mesa/main/dlist.h
+++ b/src/mesa/main/dlist.h
@@ -69,7 +69,7 @@ extern void _mesa_save_error( GLcontext *ctx, GLenum error, const char *s );
extern void _mesa_compile_error( GLcontext *ctx, GLenum error, const char *s );
-extern void *_mesa_alloc_instruction( GLcontext *ctx, int opcode, GLint sz );
+extern void *_mesa_alloc_instruction(GLcontext *ctx, GLuint opcode, GLuint sz);
extern GLint _mesa_alloc_opcode( GLcontext *ctx, GLuint sz,
void (*execute)( GLcontext *, void * ),