mesa/formats: remove compressed formats from matching function
[mesa.git] / src / mesa / main / texgetimage.c
index c0ccce3d50eb702a9d34d0ae8d55091402605a3d..3c1e166ffa1322a9298e2145389f44bba4b3fa19 100644 (file)
@@ -651,7 +651,7 @@ get_tex_memcpy(struct gl_context *ctx,
        texBaseFormat == texImage->_BaseFormat) {
       memCopy = _mesa_format_matches_format_and_type(texImage->TexFormat,
                                                      format, type,
-                                                     ctx->Pack.SwapBytes);
+                                                     ctx->Pack.SwapBytes, NULL);
    }
 
    if (depth > 1) {