summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-10-01 00:34:11 +0200
committerGitHub <noreply@github.com>2022-10-01 00:34:11 +0200
commitd9e375acc34c48edf96110ca2d75571e5209ea9a (patch)
tree09844f0da593e0569ac067b4660c41b6251f411b /src/video_core/textures
parentMerge pull request #8934 from german77/palma_release (diff)
parentvideo_core: Modify astc texture decode error fill value (diff)
downloadyuzu-d9e375acc34c48edf96110ca2d75571e5209ea9a.tar
yuzu-d9e375acc34c48edf96110ca2d75571e5209ea9a.tar.gz
yuzu-d9e375acc34c48edf96110ca2d75571e5209ea9a.tar.bz2
yuzu-d9e375acc34c48edf96110ca2d75571e5209ea9a.tar.lz
yuzu-d9e375acc34c48edf96110ca2d75571e5209ea9a.tar.xz
yuzu-d9e375acc34c48edf96110ca2d75571e5209ea9a.tar.zst
yuzu-d9e375acc34c48edf96110ca2d75571e5209ea9a.zip
Diffstat (limited to 'src/video_core/textures')
-rw-r--r--src/video_core/textures/astc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp
index b159494c5..e3742ddf5 100644
--- a/src/video_core/textures/astc.cpp
+++ b/src/video_core/textures/astc.cpp
@@ -1413,7 +1413,7 @@ static void FillVoidExtentLDR(InputBitStream& strm, std::span<u32> outBuf, u32 b
static void FillError(std::span<u32> outBuf, u32 blockWidth, u32 blockHeight) {
for (u32 j = 0; j < blockHeight; j++) {
for (u32 i = 0; i < blockWidth; i++) {
- outBuf[j * blockWidth + i] = 0xFFFF00FF;
+ outBuf[j * blockWidth + i] = 0x00000000;
}
}
}