X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Ftexstore.c;h=fc83310d4e31018b7758979b3ba6a1c9f57368d2;hb=26c549e69d12e44e2e36c09764ce2cceab262a1b;hp=37c05690091ab9cb92de9310e07c3bbc32cc8b23;hpb=8e581747d2342950ff44488064eef53768b3ae82;p=mesa.git diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 37c05690091..fc83310d4e3 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -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; }