glx: Use _mesa_lroundevenf() in glPixelStoref().
authorMatt Turner <mattst88@gmail.com>
Mon, 13 Jul 2015 01:05:58 +0000 (18:05 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 4 Aug 2015 17:33:16 +0000 (10:33 -0700)
commit5f247a9656cb8a0eccdc98ef5911ed15c1248dfb
tree4a1121eba92beefad4097e6679d007a7461efea4
parent680de24545d23d0c2b699020267ca484f81a04a9
glx: Use _mesa_lroundevenf() in glPixelStoref().

Functional change in which way half-way cases are rounded from towards
positive-infinity to even. The spec says "the passed value is rounded to
the nearest integer". Removes another case of bad half-up rounding.
src/glx/pixelstore.c