hotfix: 4444 swizzle order

This commit is contained in:
squidbus 2025-02-06 17:55:46 -08:00
parent 1a00b1af24
commit 78ea536c95

View file

@ -325,10 +325,10 @@ inline CompMapping RemapSwizzle(const DataFormat format, const CompMapping swizz
case DataFormat::Format4_4_4_4: {
// Remap to a more supported component order.
CompMapping result;
result.r = swizzle.a;
result.g = swizzle.r;
result.b = swizzle.g;
result.a = swizzle.b;
result.r = swizzle.g;
result.g = swizzle.b;
result.b = swizzle.a;
result.a = swizzle.r;
return result;
}
default: