OSDN Git Service

swrast: fix point rendering function selection
authorBrian Paul <brianp@vmware.com>
Tue, 7 Apr 2009 19:28:10 +0000 (13:28 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 7 Apr 2009 19:44:13 +0000 (13:44 -0600)
commit228f20e324249ef25beed725a6a821e0bd0cc232
tree107026ce05189b4190d5d4d8e632b570597e7caf
parentd03053688f7370064ded6dfc4912841eae39a4a9
swrast: fix point rendering function selection

Need to clamp default point size to min/max range before checking if it's one.
Fixes glean pointAtten test.
src/mesa/swrast/s_points.c