mesa: Change many Type A MESA_FORMATs to meet naming standard
[mesa.git] / src / mesa / swrast / s_blit.c
index dc9c87cce77a4c1b617bba3be71afc3a0516cc8f..aadcd95910971d131056a3a59aa5105d1a71814a 100644 (file)
@@ -166,7 +166,7 @@ blit_nearest(struct gl_context *ctx,
        * using the core helpers for pack/unpack, we avoid needing to handle
        * masking for things like DEPTH copies of Z24S8.
        */
-      if (readRb->Format == MESA_FORMAT_Z32_FLOAT ||
+      if (readRb->Format == MESA_FORMAT_Z_FLOAT32 ||
          readRb->Format == MESA_FORMAT_Z32_FLOAT_X24S8) {
         mode = UNPACK_Z_FLOAT;
       } else {