mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
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:
parent
ecea61e414
commit
5472ae1fa9
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ void vbo_save_init( struct gl_context *ctx )
|
|||
}
|
||||
}
|
||||
|
||||
ctx->Driver.CurrentSavePrimitive = PRIM_UNKNOWN;
|
||||
ctx->Driver.CurrentSavePrimitive = PRIM_OUTSIDE_BEGIN_END;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue