mesa: set point state

(cherry picked from commit af3d9dba56)
This commit is contained in:
Brian Paul
2008-08-12 10:00:36 -06:00
committed by Keith Whitwell
parent 868c09a267
commit 93c90d34d1
2 changed files with 8 additions and 0 deletions

View File

@@ -58,7 +58,11 @@ _mesa_init_program(GLcontext *ctx)
#if FEATURE_NV_vertex_program || FEATURE_ARB_vertex_program
ctx->VertexProgram.Enabled = GL_FALSE;
#if FEATURE_es2_glsl
ctx->VertexProgram.PointSizeEnabled = GL_TRUE;
#else
ctx->VertexProgram.PointSizeEnabled = GL_FALSE;
#endif
ctx->VertexProgram.TwoSideEnabled = GL_FALSE;
_mesa_reference_vertprog(ctx, &ctx->VertexProgram.Current,
ctx->Shared->DefaultVertexProgram);