mesa: check FEATURE_point_size_array
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 28 Jun 2008 22:15:03 +0000 (16:15 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 28 Jun 2008 22:15:03 +0000 (16:15 -0600)
src/mesa/main/ffvertex_prog.c

index 2baae77570e509b4a5d87861247c3b52e6fe8cdb..5f3def257de1aee1339420b18c27818759b14975 100644 (file)
@@ -265,8 +265,10 @@ static struct state_key *make_state_key( GLcontext *ctx )
    if (ctx->Point._Attenuated)
       key->point_attenuated = 1;
 
+#if FEATURE_point_size_array
    if (ctx->Array.ArrayObj->PointSize.Enabled)
       key->point_array = 1;
+#endif
 
    if (ctx->Texture._TexGenEnabled ||
        ctx->Texture._TexMatEnabled ||