mesa: remove Driver.EndList
Nothing overrides it. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
55735cad00
commit
f457964885
|
@ -190,7 +190,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
|
|||
driver->LightingSpaceChange = NULL;
|
||||
|
||||
/* display list */
|
||||
driver->EndList = NULL;
|
||||
driver->BeginCallList = NULL;
|
||||
driver->EndCallList = NULL;
|
||||
|
||||
|
|
|
@ -798,13 +798,6 @@ struct dd_function_table {
|
|||
*/
|
||||
void (*LightingSpaceChange)( struct gl_context *ctx );
|
||||
|
||||
/**
|
||||
* Called by glEndList().
|
||||
*
|
||||
* \sa dd_function_table::NewList.
|
||||
*/
|
||||
void (*EndList)( struct gl_context *ctx );
|
||||
|
||||
/**
|
||||
* Called by glCallList(s).
|
||||
*
|
||||
|
|
|
@ -9062,7 +9062,7 @@ _mesa_EndList(void)
|
|||
/* Call before emitting END_OF_LIST, in case the driver wants to
|
||||
* emit opcodes itself.
|
||||
*/
|
||||
ctx->Driver.EndList(ctx);
|
||||
vbo_save_EndList(ctx);
|
||||
|
||||
(void) alloc_instruction(ctx, OPCODE_END_OF_LIST, 0);
|
||||
|
||||
|
|
|
@ -92,6 +92,7 @@ void vbo_exec_FlushVertices(struct gl_context *ctx, GLuint flags);
|
|||
void vbo_save_SaveFlushVertices(struct gl_context *ctx);
|
||||
GLboolean vbo_save_NotifyBegin(struct gl_context *ctx, GLenum mode);
|
||||
void vbo_save_NewList(struct gl_context *ctx, GLuint list, GLenum mode);
|
||||
void vbo_save_EndList(struct gl_context *ctx);
|
||||
|
||||
|
||||
typedef void (*vbo_draw_func)( struct gl_context *ctx,
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
static void vbo_save_callback_init( struct gl_context *ctx )
|
||||
{
|
||||
ctx->Driver.EndList = vbo_save_EndList;
|
||||
ctx->Driver.BeginCallList = vbo_save_BeginCallList;
|
||||
ctx->Driver.EndCallList = vbo_save_EndCallList;
|
||||
}
|
||||
|
|
|
@ -175,7 +175,6 @@ void vbo_loopback_vertex_list( struct gl_context *ctx,
|
|||
|
||||
/* Callbacks:
|
||||
*/
|
||||
void vbo_save_EndList( struct gl_context *ctx );
|
||||
void vbo_save_EndCallList( struct gl_context *ctx );
|
||||
void vbo_save_BeginCallList( struct gl_context *ctx, struct gl_display_list *list );
|
||||
|
||||
|
|
Loading…
Reference in New Issue