diff options
author | Marek Olšák <[email protected]> | 2015-09-27 21:28:22 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-10-03 22:06:09 +0200 |
commit | 55735cad007f15fb407f803a0416593997a2045e (patch) | |
tree | 0001d66ba51cb0c34f87f4bb39eefab8f00de6b2 /src/mesa/main | |
parent | 7a5493972881cb6beb2e172f4159b39809ab3295 (diff) |
mesa: remove Driver.NewList
Nothing overrides it.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dd.h | 7 | ||||
-rw-r--r-- | src/mesa/main/dlist.c | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 43dee9ae7d6..244aa9d9865 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -799,13 +799,6 @@ struct dd_function_table { void (*LightingSpaceChange)( struct gl_context *ctx ); /** - * Called by glNewList(). - * - * Let the T&L component know what is going on with display lists - * in time to make changes to dispatch tables, etc. - */ - void (*NewList)( struct gl_context *ctx, GLuint list, GLenum mode ); - /** * Called by glEndList(). * * \sa dd_function_table::NewList. diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index f63efa1acc1..d3a329f8292 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -9028,7 +9028,7 @@ _mesa_NewList(GLuint name, GLenum mode) ctx->ListState.CurrentBlock = ctx->ListState.CurrentList->Head; ctx->ListState.CurrentPos = 0; - ctx->Driver.NewList(ctx, name, mode); + vbo_save_NewList(ctx, name, mode); ctx->CurrentDispatch = ctx->Save; _glapi_set_dispatch(ctx->CurrentDispatch); |