Nothing overrides it.
Reviewed-by: Brian Paul <brianp@vmware.com>
driver->LightingSpaceChange = NULL;
/* display list */
- driver->EndList = NULL;
driver->BeginCallList = NULL;
driver->EndCallList = NULL;
*/
void (*LightingSpaceChange)( struct gl_context *ctx );
- /**
- * Called by glEndList().
- *
- * \sa dd_function_table::NewList.
- */
- void (*EndList)( struct gl_context *ctx );
-
/**
* Called by glCallList(s).
*
/* 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);
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,
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;
}
/* 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 );