diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-11 08:15:49 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | 9098905dd13bb68f2fe49a9590688b76cc999fdd (patch) | |
tree | 496c5711a40b37341765aedba0aebb458748beea /src/video_core/texture_cache/texture_cache.h | |
parent | texture_cache return invalid buffer on deactivated color_mask (diff) | |
download | yuzu-9098905dd13bb68f2fe49a9590688b76cc999fdd.tar yuzu-9098905dd13bb68f2fe49a9590688b76cc999fdd.tar.gz yuzu-9098905dd13bb68f2fe49a9590688b76cc999fdd.tar.bz2 yuzu-9098905dd13bb68f2fe49a9590688b76cc999fdd.tar.lz yuzu-9098905dd13bb68f2fe49a9590688b76cc999fdd.tar.xz yuzu-9098905dd13bb68f2fe49a9590688b76cc999fdd.tar.zst yuzu-9098905dd13bb68f2fe49a9590688b76cc999fdd.zip |
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 7058399e2..419c0de5e 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -133,7 +133,7 @@ public: return {}; } - if (regs.color_mask[index].raw != 0) { + if (regs.color_mask[index].raw == 0) { SetEmptyColorBuffer(index); return {}; } |