Mesa (mesa_7_7_branch): mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.

Thomas Hellstrom thomash at kemper.freedesktop.org
Sun Feb 21 09:51:56 UTC 2010


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

Author: Thomas Hellstrom <thellstrom at vmware.com>
Date:   Sun Feb 21 10:39:38 2010 +0100

mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.

Some st functions assume that they are identical.

---

 src/mesa/state_tracker/st_public.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index a5fdac3..2f25b8b 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -39,7 +39,7 @@
 #define ST_SURFACE_BACK_LEFT    1
 #define ST_SURFACE_FRONT_RIGHT  2
 #define ST_SURFACE_BACK_RIGHT   3
-#define ST_SURFACE_DEPTH        8
+#define ST_SURFACE_DEPTH        4
 
 #define ST_TEXTURE_2D    0x2
 #define ST_TEXTURE_RECT  0x4




More information about the mesa-commit mailing list