1
0
mirror of synced 2025-02-21 21:10:27 +01:00

Color fix for opengl 3ds textures

This commit is contained in:
KillzXGaming 2019-05-11 18:36:10 -04:00
parent 21b0a0bda7
commit 1118111b7e
2 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ namespace Switch_Toolbox.Library
if (PlatformSwizzle == PlatformSwizzle.Platform_3DS && !IsCompressed(Format)) if (PlatformSwizzle == PlatformSwizzle.Platform_3DS && !IsCompressed(Format))
{ {
return ConvertBgraToRgba(CTR_3DS.DecodeBlock(data, (int)Width, (int)Height, Format)); return CTR_3DS.DecodeBlock(data, (int)Width, (int)Height, Format);
} }
if (Format == TEX_FORMAT.R32G8X24_FLOAT) if (Format == TEX_FORMAT.R32G8X24_FLOAT)