summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_clear.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-01 13:04:58 -0600
committerBrian <[email protected]>2007-08-01 13:04:58 -0600
commit5fd46065915d3958569ebb590104b69886352157 (patch)
tree1bd791b1e97049458b9f6b267fad8cfa81471f73 /src/mesa/pipe/softpipe/sp_clear.c
parentfb206809ba2a131fd9034e10a00592f2d0d81fce (diff)
s/Z24_S8/S8_Z24/ (stencil is in the high byte)
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_clear.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_clear.c b/src/mesa/pipe/softpipe/sp_clear.c
index 40b1156715a..6266d124be0 100644
--- a/src/mesa/pipe/softpipe/sp_clear.c
+++ b/src/mesa/pipe/softpipe/sp_clear.c
@@ -105,7 +105,7 @@ softpipe_clear(struct pipe_context *pipe, GLboolean color, GLboolean depth,
case PIPE_FORMAT_U_Z32:
clearVal = (GLuint) (softpipe->depth_test.clear * 0xffffffff);
break;
- case PIPE_FORMAT_Z24_S8:
+ case PIPE_FORMAT_S8_Z24:
clearVal = (GLuint) (softpipe->depth_test.clear * 0xffffff);
break;
default: