diff options
author | Brian Paul <[email protected]> | 2006-02-26 18:02:13 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-02-26 18:02:13 +0000 |
commit | be42f5302091d792728172ba8fddebaddbddd0b1 (patch) | |
tree | e30e4f83ea29c24bb5d8aad4b0b7f6eb76bae159 /src/mesa/main/dlist.h | |
parent | a764b7eae0e93245b0fb644d32e72226d4cf42f2 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h index 007006a0149..098468fd176 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 * ), |