diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-21 21:12:23 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-21 21:14:44 -0600 |
commit | c18b022d0d1dc07c37c0bd981d4fc6fac27e5a45 (patch) | |
tree | 7482aba5befe4ca06bc3338334cd6f15a67ae323 /src/mesa/drivers/dri/r300 | |
parent | 68d94a608a6d46156a567b8f0e011ac58054975e (diff) |
radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24
Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so
we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c index 1e9bd3e849..63f0154cd3 100644 --- a/src/mesa/drivers/dri/r300/r300_texstate.c +++ b/src/mesa/drivers/dri/r300/r300_texstate.c @@ -159,7 +159,7 @@ void r300SetDepthTexMode(struct gl_texture_object *tObj) case MESA_FORMAT_Z16: format = formats[0]; break; - case MESA_FORMAT_Z24_S8: + case MESA_FORMAT_S8_Z24: format = formats[1]; break; case MESA_FORMAT_Z32: |