summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-10-29 06:13:19 +0100
committerMathias Fröhlich <[email protected]>2018-11-01 06:08:49 +0100
commitf2a52b3c250831e057d1788cc2c75a35bc467202 (patch)
tree3a81447c5ef79c8ecd620265afb1443d6b76824e /src/mesa/main
parentb899f5e59c875ab4167fdcf024815c1e751c5c23 (diff)
vbo: Make no_current_update an argument to vbo_save_NotifyBegin.
Instead of coding additional information into the primitive mode, make the only remaining flag there a direct argument to vbo_save_NotifyBegin. v2: Fix incorrect no_current_update in glRectf. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index ae23d292837..97461cede34 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -6094,7 +6094,7 @@ save_Begin(GLenum mode)
else {
ctx->Driver.CurrentSavePrimitive = mode;
- vbo_save_NotifyBegin(ctx, mode);
+ vbo_save_NotifyBegin(ctx, mode, false);
}
}