diff options
| author | 2022-09-15 17:04:44 +0800 | |
|---|---|---|
| committer | 2022-09-15 17:04:44 +0800 | |
| commit | 88007077e201552fe0d8db0b464ca0e2cc8cd256 (patch) | |
| tree | 77dd37297b8d31af9f4d5975806cbebaf2753e75 /src/video_core/textures | |
| parent | Merge pull request #8863 from german77/triggers (diff) | |
| download | yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.gz yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.xz yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.zip | |
video_core: Modify astc texture decode error fill value
Diffstat (limited to 'src/video_core/textures')
| -rw-r--r-- | src/video_core/textures/astc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index e3f3d3c5d..a4d4e0ed5 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp | |||
| @@ -1411,7 +1411,7 @@ static void FillVoidExtentLDR(InputBitStream& strm, std::span<u32> outBuf, u32 b | |||
| 1411 | static void FillError(std::span<u32> outBuf, u32 blockWidth, u32 blockHeight) { | 1411 | static void FillError(std::span<u32> outBuf, u32 blockWidth, u32 blockHeight) { |
| 1412 | for (u32 j = 0; j < blockHeight; j++) { | 1412 | for (u32 j = 0; j < blockHeight; j++) { |
| 1413 | for (u32 i = 0; i < blockWidth; i++) { | 1413 | for (u32 i = 0; i < blockWidth; i++) { |
| 1414 | outBuf[j * blockWidth + i] = 0xFFFF00FF; | 1414 | outBuf[j * blockWidth + i] = 0x00000000; |
| 1415 | } | 1415 | } |
| 1416 | } | 1416 | } |
| 1417 | } | 1417 | } |