summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_Common.cpp
diff options
context:
space:
mode:
authorOatmealDome <OatmealDome@users.noreply.github.com>2025-04-30 01:17:31 -0400
committerGitHub <noreply@github.com>2025-04-30 01:17:31 -0400
commit0b0151770a2a087063775e654e1b6208033a9c21 (patch)
treef4539f731ddbee53f46aab1d01caa08632c07738 /Source/Core/VideoCommon/TextureDecoder_Common.cpp
parent23a5ea3504038c86e03f69e6be7e314dd3212128 (diff)
parentbf554edfe0b543b08c42401b78fea2ae0ffa1168 (diff)
Merge pull request #13436 from JoshuaVandaele/clang-format-19
Update clang-format to version 19
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Common.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_Common.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_Common.cpp b/Source/Core/VideoCommon/TextureDecoder_Common.cpp
index 299a36e4d4..d4139c02d9 100644
--- a/Source/Core/VideoCommon/TextureDecoder_Common.cpp
+++ b/Source/Core/VideoCommon/TextureDecoder_Common.cpp
@@ -319,7 +319,7 @@ static inline u32 DecodePixel_RGB565(u16 val)
int r, g, b, a;
r = Convert5To8((val >> 11) & 0x1f);
g = Convert6To8((val >> 5) & 0x3f);
- b = Convert5To8((val)&0x1f);
+ b = Convert5To8((val) & 0x1f);
a = 0xFF;
return r | (g << 8) | (b << 16) | (a << 24);
}
@@ -331,7 +331,7 @@ static inline u32 DecodePixel_RGB5A3(u16 val)
{
r = Convert5To8((val >> 10) & 0x1f);
g = Convert5To8((val >> 5) & 0x1f);
- b = Convert5To8((val)&0x1f);
+ b = Convert5To8((val) & 0x1f);
a = 0xFF;
}
else
@@ -339,7 +339,7 @@ static inline u32 DecodePixel_RGB5A3(u16 val)
a = Convert3To8((val >> 12) & 0x7);
r = Convert4To8((val >> 8) & 0xf);
g = Convert4To8((val >> 4) & 0xf);
- b = Convert4To8((val)&0xf);
+ b = Convert4To8((val) & 0xf);
}
return r | (g << 8) | (b << 16) | (a << 24);
}