projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15904c0
)
mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.
author
Brian Paul
<brianp@vmware.com>
Mon, 22 Feb 2010 15:04:16 +0000
(08:04 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 22 Feb 2010 15:04:16 +0000
(08:04 -0700)
Some st functions assume that they are identical.
(cherry picked from commit
9d17ad2891b58de9e33e943ff918a678c6a3c2bd
)
src/mesa/state_tracker/st_public.h
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_public.h
b/src/mesa/state_tracker/st_public.h
index 98c19817c87fb6ef874e16854f6b4bcbf9479a74..5c9a8550db12c84bb495091d8a9f408b3e9dd5ad 100644
(file)
--- 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