SHA256
1
0
forked from pool/Mesa
Mesa/spantmp2_h_ppc_build_fix.diff
OBS User autobuild 6654a2f434 Accepting request 30735 from X11:XOrg
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
2010-01-29 14:01:40 +00:00

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 ) \