diff options
author | Roland Scheidegger <[email protected]> | 2010-03-30 01:35:49 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-03-30 01:35:49 +0200 |
commit | 6fb364a1717858d8201b2caf234076ce5d4832ac (patch) | |
tree | d5ba16307b15eeec7f1109bde41cc45c4aab6bcd /src/gallium/drivers/svga/svga_screen.c | |
parent | 4e9690f00ca67e42e31367c50f9c216ad10ef553 (diff) |
gallium: adapt all code to the renamed depth/stencil formats
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 6022c38cfca..9a2e7c6f5b0 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -210,7 +210,7 @@ svga_translate_format_cap(enum pipe_format format) case PIPE_FORMAT_Z16_UNORM: return SVGA3D_DEVCAP_SURFACEFMT_Z_D16; - case PIPE_FORMAT_S8Z24_UNORM: + case PIPE_FORMAT_S8_USCALED_Z24_UNORM: return SVGA3D_DEVCAP_SURFACEFMT_Z_D24S8; case PIPE_FORMAT_X8Z24_UNORM: return SVGA3D_DEVCAP_SURFACEFMT_Z_D24X8; |