6654a2f434
Copy from X11:XOrg/Mesa based on submit request 30735 from user coolo OBS-URL: https://build.opensuse.org/request/show/30735 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=80
12 lines
405 B
Diff
12 lines
405 B
Diff
--- src/mesa/drivers/dri/common/spantmp2.h
|
|
+++ src/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 ) \
|