summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-19 22:28:46 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:38 +0200
commitdf9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4 (patch)
tree63c621abf1c5a35fda2849651598cb46eef551ac /src/video_core
parentglsl: Add missing ; in EmitSetSampleMask (diff)
downloadyuzu-df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4.tar
yuzu-df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4.tar.gz
yuzu-df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4.tar.bz2
yuzu-df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4.tar.lz
yuzu-df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4.tar.xz
yuzu-df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4.tar.zst
yuzu-df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/buffer_cache/buffer_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h
index a75de4384..cb9c69baf 100644
--- a/src/video_core/buffer_cache/buffer_cache.h
+++ b/src/video_core/buffer_cache/buffer_cache.h
@@ -1019,7 +1019,7 @@ void BufferCache<P>::BindHostGraphicsUniformBuffer(size_t stage, u32 index, u32
TouchBuffer(buffer);
const bool use_fast_buffer = binding.buffer_id != NULL_BUFFER_ID &&
size <= uniform_buffer_skip_cache_size &&
- !buffer.IsRegionGpuModified(cpu_addr, size) && false;
+ !buffer.IsRegionGpuModified(cpu_addr, size);
if (use_fast_buffer) {
if constexpr (IS_OPENGL) {
if (runtime.HasFastBufferSubData()) {