diff options
author | Brian Paul <[email protected]> | 2009-03-18 15:39:11 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-03-18 15:45:38 -0600 |
commit | a577471c546732419908893b481948feac5b7241 (patch) | |
tree | fbb25be99d9034036f72b192af1ad1d2093443a0 /src/mesa/drivers/windows | |
parent | cac1ce09ac52e9bc4aa8d5ba24b6a4d131d8fc69 (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/drivers/windows')
0 files changed, 0 insertions, 0 deletions