summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-09-27 21:28:22 +0200
committerMarek Olšák <[email protected]>2015-10-03 22:06:09 +0200
commitef6c0714af57d1aeaa9904fc4bb074e381ef928b (patch)
tree616be7794d107f9ebb9e243a0e7d1c33c9062718 /src/mesa/main
parentf457964885afedaa47c1ee675c313650d1082473 (diff)
mesa: remove Driver.BeginCallList
Nothing overrides it. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dd.h7
-rw-r--r--src/mesa/main/dlist.c3
2 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 6e30484b1eb..76def4c398c 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 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().
*
* \sa dd_function_table::BeginCallList.
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 804583d0dea..af634a49080 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -7742,8 +7742,7 @@ execute_list(struct gl_context *ctx, GLuint list)
ctx->ListState.CallDepth++;
- if (ctx->Driver.BeginCallList)
- ctx->Driver.BeginCallList(ctx, dlist);
+ vbo_save_BeginCallList(ctx, dlist);
n = dlist->Head;