diff options
author | Brian Paul <[email protected]> | 2009-10-07 16:03:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-07 16:03:09 -0600 |
commit | 6e1697bee72a95f7d605e42ce60e2cb4a545106f (patch) | |
tree | 202d194f287878d6c021bbcc537caa27c511b1d3 /src/mesa/main/dlist.h | |
parent | 0083d2e40a8b0aa9ea36f98d4b6b7981d5dca0e3 (diff) |
mesa: rename display list functions
_mesa_alloc_instruction() sounded like it was related to vertex/fragment
program instructions, but it wasn't.
Diffstat (limited to 'src/mesa/main/dlist.h')
-rw-r--r-- | src/mesa/main/dlist.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h index af36991d5ec..589cbc5992b 100644 --- a/src/mesa/main/dlist.h +++ b/src/mesa/main/dlist.h @@ -61,12 +61,12 @@ extern void GLAPIENTRY _mesa_CallLists( GLsizei n, GLenum type, const GLvoid *li extern void _mesa_compile_error( GLcontext *ctx, GLenum error, const char *s ); -extern void *_mesa_alloc_instruction(GLcontext *ctx, GLuint opcode, GLuint sz); +extern void *_mesa_dlist_alloc(GLcontext *ctx, GLuint opcode, GLuint sz); -extern GLint _mesa_alloc_opcode( GLcontext *ctx, GLuint sz, - void (*execute)( GLcontext *, void * ), - void (*destroy)( GLcontext *, void * ), - void (*print)( GLcontext *, void * ) ); +extern GLint _mesa_dlist_alloc_opcode( GLcontext *ctx, GLuint sz, + void (*execute)( GLcontext *, void * ), + void (*destroy)( GLcontext *, void * ), + void (*print)( GLcontext *, void * ) ); extern void _mesa_delete_list(GLcontext *ctx, struct gl_display_list *dlist); |