summaryrefslogtreecommitdiff
path: root/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'mesa/drivers')
-rw-r--r--mesa/drivers/dri/common/spantmp2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesa/drivers/dri/common/spantmp2.h b/mesa/drivers/dri/common/spantmp2.h
index 447f3d1..c152226 100644
--- a/mesa/drivers/dri/common/spantmp2.h
+++ b/mesa/drivers/dri/common/spantmp2.h
@@ -400,7 +400,7 @@
# define READ_RGBA( rgba, _x, _y ) \
do { \
GLuint p = GET_VALUE(_x, _y); \
- *((uint32_t *) rgba) = (t << 8) | 0xff; \
+ *((uint32_t *) rgba) = (p << 8) | 0xff; \
} while (0)
# else
# define READ_RGBA( rgba, _x, _y ) \