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>
This commit is contained in:
Brian Paul 2013-05-01 19:15:32 -06:00
parent ecea61e414
commit 5472ae1fa9

View file

@ -86,7 +86,7 @@ void vbo_save_init( struct gl_context *ctx )
} }
} }
ctx->Driver.CurrentSavePrimitive = PRIM_UNKNOWN; ctx->Driver.CurrentSavePrimitive = PRIM_OUTSIDE_BEGIN_END;
} }