projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0846c88
)
mesa/dlist: restore missing SAVE_FLUSH_VERTICES in save_ShadeModel
author
Keith Whitwell
<keithw@vmware.com>
Tue, 30 Jun 2009 11:19:11 +0000
(12:19 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 30 Jun 2009 11:19:11 +0000
(12:19 +0100)
Reorganization of ShadeModel to avoid flushing vertices too often
ended up never flushing vertices due to omitted line of code.
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index 3647401a1bd32d5d6665de39dd877490d145f311..93b8a8f56d2fe317ff7c621bdc7705c0252f3ea9 100644
(file)
--- a/
src/mesa/main/dlist.c
+++ b/
src/mesa/main/dlist.c
@@
-3186,6
+3186,7
@@
save_ShadeModel(GLenum mode)
if (ctx->ListState.Current.ShadeModel == mode)
return;
+ SAVE_FLUSH_VERTICES(ctx);
ctx->ListState.Current.ShadeModel = mode;
n = ALLOC_INSTRUCTION(ctx, OPCODE_SHADE_MODEL, 1);