summaryrefslogtreecommitdiff
path: root/src/video_core/textures/astc.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-07-05 17:09:23 -0700
committerGravatar GitHub2021-07-05 17:09:23 -0700
commitbf50345d4c13e34e69af0070632400b3472a1a11 (patch)
tree1af5586d2d416c1a347ea0bfabed30a3a56d51e0 /src/video_core/textures/astc.cpp
parentMerge pull request #6556 from Morph1984/default-mii (diff)
parentCMakeLists: Disable all warnings for external headers (diff)
downloadyuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.gz
yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.xz
yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.zip
Merge pull request #6537 from Morph1984/warnings
general: Enforce multiple warnings in MSVC
Diffstat (limited to 'src/video_core/textures/astc.cpp')
-rw-r--r--src/video_core/textures/astc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp
index 7b756ba41..3ab500760 100644
--- a/src/video_core/textures/astc.cpp
+++ b/src/video_core/textures/astc.cpp
@@ -1365,8 +1365,8 @@ static void DecompressBlock(std::span<const u8, 16> inBuf, const u32 blockWidth,
1365 // each partition. 1365 // each partition.
1366 1366
1367 // Determine partitions, partition index, and color endpoint modes 1367 // Determine partitions, partition index, and color endpoint modes
1368 s32 planeIdx = -1; 1368 u32 planeIdx{UINT32_MAX};
1369 u32 partitionIndex; 1369 u32 partitionIndex{};
1370 u32 colorEndpointMode[4] = {0, 0, 0, 0}; 1370 u32 colorEndpointMode[4] = {0, 0, 0, 0};
1371 1371
1372 // Define color data. 1372 // Define color data.