aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-22 08:04:16 -0700
committerBrian Paul <[email protected]>2010-02-22 08:04:16 -0700
commit6ce5b5e115451543a4a059ef6b618c1e53f2bbc5 (patch)
tree35e0caf3c978a7dd953f49f7d976b45fa02dbf10 /src/mesa
parent15904c057beec3029a8ed2035d7ba50f9414943d (diff)
mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.
Some st functions assume that they are identical. (cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_public.h2
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 98c19817c87..5c9a8550db1 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