}
#if defined(RADEON_R200)
- if (rb->Format == MESA_FORMAT_S8_Z24 && !rrb->has_surface) {
+ if ((rb->Format == MESA_FORMAT_S8_Z24 || rb->Format == MESA_FORMAT_X8_Z24) && !rrb->has_surface) {
radeon_map_renderbuffer_s8z24(ctx, rb, x, y, w, h,
mode, out_map, out_stride);
return;
GLboolean ok;
#ifdef RADEON_R200
- if (rb->Format == MESA_FORMAT_S8_Z24 && !rrb->has_surface) {
+ if ((rb->Format == MESA_FORMAT_S8_Z24 || rb->Format == MESA_FORMAT_X8_Z24) && !rrb->has_surface) {
radeon_unmap_renderbuffer_s8z24(ctx, rb);
return;
}