summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_cull.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-18 15:39:11 -0600
committerBrian Paul <brianp@vmware.com>2009-03-18 15:45:38 -0600
commita577471c546732419908893b481948feac5b7241 (patch)
treefbb25be99d9034036f72b192af1ad1d2093443a0 /src/mesa/tnl/t_vb_cull.c
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/tnl/t_vb_cull.c')
0 files changed, 0 insertions, 0 deletions