mesa/formats: remove compressed formats from matching function
[mesa.git] / src / mesa / main / texstore.c
index 37c05690091ab9cb92de9310e07c3bbc32cc8b23..fc83310d4e31018b7758979b3ba6a1c9f57368d2 100644 (file)
@@ -863,7 +863,7 @@ _mesa_texstore_can_use_memcpy(struct gl_context *ctx,
 
    /* The Mesa format must match the input format and type. */
    if (!_mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
-                                             srcPacking->SwapBytes)) {
+                                             srcPacking->SwapBytes, NULL)) {
       return GL_FALSE;
    }