From: Ruediger Oertel Date: Fri, 22 Jan 2010 14:53:27 +0000 (-0800) Subject: Fix PowerPC related typo in spantmp2.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96280c2a41e5fda570ba37ff5fca87f2cde59234;p=mesa.git Fix PowerPC related typo in spantmp2.h Signed-off-by: Matthias Hopf Signed-off-by: Brian Paul --- diff --git a/src/mesa/drivers/dri/common/spantmp2.h b/src/mesa/drivers/dri/common/spantmp2.h index 447f3d15b95..c1522269022 100644 --- a/src/mesa/drivers/dri/common/spantmp2.h +++ b/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 ) \