summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-28 16:15:03 -0600
committerBrian Paul <[email protected]>2008-06-28 16:15:03 -0600
commita1ec6efce0f614dfc2fb7af2cab68eca3be43850 (patch)
treeabaac39bba3dabd1776deee668f3dcb9f64be813
parentd4b100a6a1f13ceaedf603bdce5ce95c2ce7e12c (diff)
mesa: check FEATURE_point_size_array
-rw-r--r--src/mesa/main/ffvertex_prog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c
index 2baae77570e..5f3def257de 100644
--- a/src/mesa/main/ffvertex_prog.c
+++ b/src/mesa/main/ffvertex_prog.c
@@ -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 ||