Mesa (mesa_7_7_branch): Fix PowerPC related typo in spantmp2.h

Brian Paul brianp at kemper.freedesktop.org
Fri Jan 22 15:09:06 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: 96280c2a41e5fda570ba37ff5fca87f2cde59234
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96280c2a41e5fda570ba37ff5fca87f2cde59234

Author: Ruediger Oertel <ro at suse.de>
Date:   Fri Jan 22 06:53:27 2010 -0800

Fix PowerPC related typo in spantmp2.h

Signed-off-by: Matthias Hopf <mhopf at suse.de>
Signed-off-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/drivers/dri/common/spantmp2.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/common/spantmp2.h b/src/mesa/drivers/dri/common/spantmp2.h
index 447f3d1..c152226 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 )				        \




More information about the mesa-commit mailing list