summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-09-10 17:42:57 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-09-10 17:42:57 +0000
commitcb535550588852175f22fd17ad080bc213021881 (patch)
treebaa49c7784e4fd0016ae67be368a59b8ff4a1ec6 /src/mesa/drivers/dri/radeon
parentef8244df1a195f227b1cdf2f944b7fd7a9917adf (diff)
Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems
converting 0 to exactly 0.0 This goes against the OpenGL spec (see table 2.6) but solves problems when doing byte -> float -> ubyte conversion for particular texture formats.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
0 files changed, 0 insertions, 0 deletions