[Mesa-dev] [PATCH 13/14] vbo: fix initial value of ctx->Driver.CurrentSavePrimitive
Brian Paul
brianp at vmware.com
Wed Apr 24 17:32:27 PDT 2013
This is set during context creation/initialization. We know we're
not inside glBegin/glEnd at this point so use PRIM_OUTSIDE_BEGIN_END.
---
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 1b46c04..305256a 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;
}
--
1.7.3.4
More information about the mesa-dev
mailing list