summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-23 20:25:16 +0100
committerbunnei <bunneidev@gmail.com>2018-03-23 20:25:16 +0100
commitb36b627d4d117cf667f697ade45c2fc3dd6a1f66 (patch)
tree1d1d82afa19eae7c1f1bb02512aacb1b86b9dcbb
parentmemory: RasterizerFlushVirtualRegion should also check process image region. (diff)
downloadyuzu-b36b627d4d117cf667f697ade45c2fc3dd6a1f66.tar
yuzu-b36b627d4d117cf667f697ade45c2fc3dd6a1f66.tar.gz
yuzu-b36b627d4d117cf667f697ade45c2fc3dd6a1f66.tar.bz2
yuzu-b36b627d4d117cf667f697ade45c2fc3dd6a1f66.tar.lz
yuzu-b36b627d4d117cf667f697ade45c2fc3dd6a1f66.tar.xz
yuzu-b36b627d4d117cf667f697ade45c2fc3dd6a1f66.tar.zst
yuzu-b36b627d4d117cf667f697ade45c2fc3dd6a1f66.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index 19fb2333a..f54c5aff3 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -1250,7 +1250,7 @@ void RasterizerCacheOpenGL::FlushRegion(VAddr addr, u64 size, Surface flush_surf
}
void RasterizerCacheOpenGL::FlushAll() {
- FlushRegion(0, 0xFFFFFFFF);
+ FlushRegion(0, Kernel::VMManager::MAX_ADDRESS);
}
void RasterizerCacheOpenGL::InvalidateRegion(VAddr addr, u64 size, const Surface& region_owner) {