mesa: Ignore glPointSize when GL_POINT_SIZE_ARRAY_OES is enabled
authorPlamena Manolova <plamena.manolova@intel.com>
Tue, 15 Mar 2016 18:39:49 +0000 (20:39 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Mar 2016 22:49:48 +0000 (15:49 -0700)
commit9d9965c06f18f7d609933e511b98514570e85909
tree2314c500b0c5d21011fc986d2942fda0a0d510c2
parente103b52aec773537d2821d8acc42ac9caa2a4b17
mesa: Ignore glPointSize when GL_POINT_SIZE_ARRAY_OES is enabled

When a user defines a point size array and enables it, the point
size value set via glPointSize should be ignored. To achieve this,
we can simply toggle ctx->VertexProgram.PointSizeEnabled.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42187
Signed-off-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/enable.c