mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
mesa: remove Driver.EndCallList
Nothing overrides it. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
ef6c0714af
commit
00f6beed02
6 changed files with 2 additions and 22 deletions
|
|
@ -189,9 +189,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
|
|||
driver->ProgramStringNotify = _tnl_program_string;
|
||||
driver->LightingSpaceChange = NULL;
|
||||
|
||||
/* display list */
|
||||
driver->EndCallList = NULL;
|
||||
|
||||
/* GL_ARB_texture_storage */
|
||||
driver->AllocTextureStorage = _mesa_AllocTextureStorage_sw;
|
||||
|
||||
|
|
|
|||
|
|
@ -798,13 +798,6 @@ struct dd_function_table {
|
|||
*/
|
||||
void (*LightingSpaceChange)( struct gl_context *ctx );
|
||||
|
||||
/**
|
||||
* Called by glEndCallList().
|
||||
*
|
||||
* \sa dd_function_table::BeginCallList.
|
||||
*/
|
||||
void (*EndCallList)( struct gl_context *ctx );
|
||||
|
||||
/**@}*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -8898,8 +8898,7 @@ execute_list(struct gl_context *ctx, GLuint list)
|
|||
}
|
||||
}
|
||||
|
||||
if (ctx->Driver.EndCallList)
|
||||
ctx->Driver.EndCallList(ctx);
|
||||
vbo_save_EndCallList(ctx);
|
||||
|
||||
ctx->ListState.CallDepth--;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ 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);
|
||||
void vbo_save_EndCallList(struct gl_context *ctx);
|
||||
|
||||
|
||||
typedef void (*vbo_draw_func)( struct gl_context *ctx,
|
||||
|
|
|
|||
|
|
@ -33,13 +33,6 @@
|
|||
#include "vbo_context.h"
|
||||
|
||||
|
||||
static void vbo_save_callback_init( struct gl_context *ctx )
|
||||
{
|
||||
ctx->Driver.EndCallList = vbo_save_EndCallList;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Called at context creation time.
|
||||
*/
|
||||
|
|
@ -51,7 +44,6 @@ void vbo_save_init( struct gl_context *ctx )
|
|||
save->ctx = ctx;
|
||||
|
||||
vbo_save_api_init( save );
|
||||
vbo_save_callback_init(ctx);
|
||||
|
||||
{
|
||||
struct gl_client_array *arrays = save->arrays;
|
||||
|
|
|
|||
|
|
@ -175,8 +175,6 @@ void vbo_loopback_vertex_list( struct gl_context *ctx,
|
|||
|
||||
/* Callbacks:
|
||||
*/
|
||||
void vbo_save_EndCallList( struct gl_context *ctx );
|
||||
|
||||
void vbo_save_playback_vertex_list( struct gl_context *ctx, void *data );
|
||||
|
||||
void vbo_save_api_init( struct vbo_save_context *save );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue