projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecea61e
)
vbo: fix initial value of ctx->Driver.CurrentSavePrimitive
author
Brian Paul
<brianp@vmware.com>
Thu, 2 May 2013 01:15:32 +0000
(19:15 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 2 May 2013 15:03:15 +0000
(09:03 -0600)
This is set during context creation/initialization. We know we're
not inside glBegin/glEnd at this point so use PRIM_OUTSIDE_BEGIN_END.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/vbo/vbo_save.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_save.c
b/src/mesa/vbo/vbo_save.c
index 1b46c0447e0470ede0ff53295c4ea0889b4031c8..305256a3aed00dba6b5bcfd3b34f53a73201ddb5 100644
(file)
--- a/
src/mesa/vbo/vbo_save.c
+++ b/
src/mesa/vbo/vbo_save.c
@@
-86,7
+86,7
@@
void vbo_save_init( struct gl_context *ctx )
}
}
- ctx->Driver.CurrentSavePrimitive = PRIM_
UNKNOWN
;
+ ctx->Driver.CurrentSavePrimitive = PRIM_
OUTSIDE_BEGIN_END
;
}