mesa: fix the format of glEdgeFlagPointer
authorMarek Olšák <marek.olsak@amd.com>
Mon, 3 Mar 2014 00:01:05 +0000 (01:01 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 7 Mar 2014 17:07:05 +0000 (18:07 +0100)
commit780ce576bb1781f027797039693b98253ee4813e
treed5a1215579f3fe61ba193f54eb307999f6a82fbf
parent472ac0db08011af21174bb35e45858480b866346
mesa: fix the format of glEdgeFlagPointer

Softpipe expects a float in the vertex shader, which is what glEdgeFlag
generates.

This fixes piglit/gl-2.0-edgeflag.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/varray.c