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/state_trackers/glx/xlib | |
parent | 4e9690f00ca67e42e31367c50f9c216ad10ef553 (diff) |
gallium: adapt all code to the renamed depth/stencil formats
Diffstat (limited to 'src/gallium/state_trackers/glx/xlib')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index 3022d45157a..919497be5f5 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -356,8 +356,8 @@ choose_depth_stencil_format(XMesaDisplay xmdpy, int depth, int stencil) formats[count++] = PIPE_FORMAT_Z24X8_UNORM; } if (depth <= 24 && stencil <= 8) { - formats[count++] = PIPE_FORMAT_S8Z24_UNORM; - formats[count++] = PIPE_FORMAT_Z24S8_UNORM; + formats[count++] = PIPE_FORMAT_S8_USCALED_Z24_UNORM; + formats[count++] = PIPE_FORMAT_Z24_UNORM_S8_USCALED; } if (depth <= 32 && stencil == 0) { formats[count++] = PIPE_FORMAT_Z32_UNORM; |