diff options
author | Brian Paul <brianp@vmware.com> | 2013-05-01 19:15:32 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2013-05-02 09:03:15 -0600 |
commit | 5472ae1fa9fad8f1a2c60f56f2ac2c94bd38f04c (patch) | |
tree | 33d6d035f98707b6626f2193d683173398ec7432 /src | |
parent | ecea61e414bf772944aff7d9a0899fe8f68af90a (diff) |
vbo: fix initial value of ctx->Driver.CurrentSavePrimitive
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/vbo/vbo_save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save.c b/src/mesa/vbo/vbo_save.c index 1b46c0447e0..305256a3aed 100644 --- 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; } |