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
commit7a5493972881cb6beb2e172f4159b39809ab3295 (patch)
tree7e276c186870dfe9e5425464519d6c7a3f06de89 /src/mesa/main
parent4b8bb2f559b75c953e87c7b6bda17b155a87df15 (diff)
mesa: remove Driver.NotifySaveBegin
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.c2
2 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 2ae2eecf5dc..43dee9ae7d6 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -793,13 +793,6 @@ struct dd_function_table {
GLboolean SaveNeedFlush;
/**
- * Give the driver the opportunity to hook in its own vtxfmt for
- * compiling optimized display lists. This is called on each valid
- * glBegin() during list compilation.
- */
- GLboolean (*NotifySaveBegin)( struct gl_context *ctx, GLenum mode );
-
- /**
* Notify driver that the special derived value _NeedEyeCoords has
* changed.
*/
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 944be2505b4..f63efa1acc1 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -5465,7 +5465,7 @@ save_Begin(GLenum mode)
/* Give the driver an opportunity to hook in an optimized
* display list compiler.
*/
- if (ctx->Driver.NotifySaveBegin(ctx, mode))
+ if (vbo_save_NotifyBegin(ctx, mode))
return;
SAVE_FLUSH_VERTICES(ctx);