From: Brian Paul Date: Sat, 28 Jun 2008 22:15:03 +0000 (-0600) Subject: mesa: check FEATURE_point_size_array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1ec6efce0f614dfc2fb7af2cab68eca3be43850;p=mesa.git mesa: check FEATURE_point_size_array --- 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 ||