diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-09-10 17:42:57 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-09-10 17:42:57 +0000 |
commit | cb535550588852175f22fd17ad080bc213021881 (patch) | |
tree | baa49c7784e4fd0016ae67be368a59b8ff4a1ec6 /src/mesa/drivers/dri/ffb/server | |
parent | ef8244df1a195f227b1cdf2f944b7fd7a9917adf (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/ffb/server')
0 files changed, 0 insertions, 0 deletions