diff options
Diffstat (limited to 'src/mesa/swrast/s_blit.c')
-rw-r--r-- | src/mesa/swrast/s_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c index aadcd959109..1ba188c5f7a 100644 --- a/src/mesa/swrast/s_blit.c +++ b/src/mesa/swrast/s_blit.c @@ -167,7 +167,7 @@ blit_nearest(struct gl_context *ctx, * masking for things like DEPTH copies of Z24S8. */ if (readRb->Format == MESA_FORMAT_Z_FLOAT32 || - readRb->Format == MESA_FORMAT_Z32_FLOAT_X24S8) { + readRb->Format == MESA_FORMAT_Z32_FLOAT_S8X24_UINT) { mode = UNPACK_Z_FLOAT; } else { mode = UNPACK_Z_INT; |