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
commit00f6beed02d644189b935b3cc9d70a6f993c034e (patch)
tree5b84aa39f40dbeaf922ba6406f05abb70a6f8feb /src/mesa/main
parentef6c0714af57d1aeaa9904fc4bb074e381ef928b (diff)
mesa: remove Driver.EndCallList
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 76def4c398c..0b04c8db23d 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -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 );
-
/**@}*/
/**
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index af634a49080..e8059c7b260 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -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--;
}