Fix PowerPC related typo in spantmp2.h
authorRuediger Oertel <ro@suse.de>
Fri, 22 Jan 2010 14:53:27 +0000 (06:53 -0800)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 15:07:41 +0000 (08:07 -0700)
Signed-off-by: Matthias Hopf <mhopf@suse.de>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/common/spantmp2.h

index 447f3d15b9516c2c7aca30f47beb68caaf6bde76..c15222690222946417698078139aa611d1535081 100644 (file)
 #  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 )                                    \