diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-28 08:55:02 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-28 15:21:42 +0200 |
commit | d3d6613d33d6ca695732ccbdbd3e749053d22d0a (patch) | |
tree | f60dfab785157d35dd4110f7cf42b52c7180fee0 /src/video_core/textures | |
parent | Merge pull request #6535 from ameerj/insert-fancy-name (diff) | |
download | yuzu-d3d6613d33d6ca695732ccbdbd3e749053d22d0a.tar yuzu-d3d6613d33d6ca695732ccbdbd3e749053d22d0a.tar.gz yuzu-d3d6613d33d6ca695732ccbdbd3e749053d22d0a.tar.bz2 yuzu-d3d6613d33d6ca695732ccbdbd3e749053d22d0a.tar.lz yuzu-d3d6613d33d6ca695732ccbdbd3e749053d22d0a.tar.xz yuzu-d3d6613d33d6ca695732ccbdbd3e749053d22d0a.tar.zst yuzu-d3d6613d33d6ca695732ccbdbd3e749053d22d0a.zip |
Diffstat (limited to 'src/video_core/textures')
-rw-r--r-- | src/video_core/textures/astc.cpp | 4 |
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, // each partition. // Determine partitions, partition index, and color endpoint modes - s32 planeIdx = -1; - u32 partitionIndex; + u32 planeIdx{UINT32_MAX}; + u32 partitionIndex{}; u32 colorEndpointMode[4] = {0, 0, 0, 0}; // Define color data. |