summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/x86_xform2.S
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-18 15:39:11 -0600
committerBrian Paul <[email protected]>2009-03-18 15:45:38 -0600
commita577471c546732419908893b481948feac5b7241 (patch)
treefbb25be99d9034036f72b192af1ad1d2093443a0 /src/mesa/x86/x86_xform2.S
parentcac1ce09ac52e9bc4aa8d5ba24b6a4d131d8fc69 (diff)
mesa: use the IROUND() macro in pixel packing code
It turns out some tests are sensitive to rounding vs. truncating when converting float color values to integers in glReadPixels(). In particular, this matters when the destination format is 5/6/5 or 4/4/4/4, etc.
Diffstat (limited to 'src/mesa/x86/x86_xform2.S')
0 files changed, 0 insertions, 0 deletions