summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-03-02 09:41:38 +1000
committerDave Airlie <[email protected]>2011-03-02 09:41:38 +1000
commit01d5d1e80ee506205e8615356e55e4bca16c6b11 (patch)
treeffb31bc0f168d034847965375f2ca0fae1574a2b /src/mesa
parentc7d239c43b8fbc502139e1699c7a47fcbece1aa7 (diff)
swrast/rgtc: fix rendering issues introduced when fix constants
The max value was wrong and this showed up in the piglit tests.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texcompress_rgtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_rgtc.c b/src/mesa/main/texcompress_rgtc.c
index 2f3a0f214ad..f6a1825216d 100644
--- a/src/mesa/main/texcompress_rgtc.c
+++ b/src/mesa/main/texcompress_rgtc.c
@@ -443,7 +443,7 @@ _mesa_fetch_texel_2d_f_signed_rg_rgtc2(const struct gl_texture_image *texImage,
#define TAG(x) signed_##x
#define TYPE GLbyte
#define T_MIN (GLbyte)-127
-#define T_MAX (GLbyte)127
+#define T_MAX (GLbyte)128
#include "texcompress_rgtc_tmp.h"