From: Brian Paul Date: Thu, 21 May 2009 16:11:13 +0000 (-0600) Subject: mesa: check FEATURE_point_size_array for PointSize array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1889890c88c3c10287ca4f84369190cc7029884f;p=mesa.git mesa: check FEATURE_point_size_array for PointSize array --- diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index eab6fac94e6..8973c3cb37d 100644 --- a/src/mesa/main/arrayobj.c +++ b/src/mesa/main/arrayobj.c @@ -332,7 +332,9 @@ _mesa_update_array_object_max_element(GLcontext *ctx, min = update_min(min, &arrayObj->FogCoord); min = update_min(min, &arrayObj->Index); min = update_min(min, &arrayObj->EdgeFlag); +#if FEATURE_point_size_array min = update_min(min, &arrayObj->PointSize); +#endif for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) min = update_min(min, &arrayObj->TexCoord[i]); for (i = 0; i < VERT_ATTRIB_MAX; i++)