Nothing overrides it.
Reviewed-by: Brian Paul <brianp@vmware.com>
driver->LightingSpaceChange = NULL;
/* display list */
- driver->BeginCallList = NULL;
driver->EndCallList = NULL;
/* GL_ARB_texture_storage */
*/
void (*LightingSpaceChange)( struct gl_context *ctx );
- /**
- * Called by glCallList(s).
- *
- * Notify the T&L component before and after calling a display list.
- */
- void (*BeginCallList)( struct gl_context *ctx,
- struct gl_display_list *dlist );
/**
* Called by glEndCallList().
*
ctx->ListState.CallDepth++;
- if (ctx->Driver.BeginCallList)
- ctx->Driver.BeginCallList(ctx, dlist);
+ vbo_save_BeginCallList(ctx, dlist);
n = dlist->Head;
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);
+void vbo_save_BeginCallList(struct gl_context *ctx, struct gl_display_list *list);
typedef void (*vbo_draw_func)( struct gl_context *ctx,
static void vbo_save_callback_init( struct gl_context *ctx )
{
- ctx->Driver.BeginCallList = vbo_save_BeginCallList;
ctx->Driver.EndCallList = vbo_save_EndCallList;
}
/* Callbacks:
*/
void vbo_save_EndCallList( struct gl_context *ctx );
-void vbo_save_BeginCallList( struct gl_context *ctx, struct gl_display_list *list );
void vbo_save_playback_vertex_list( struct gl_context *ctx, void *data );