diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-25 04:25:38 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 03:16:58 +0200 |
commit | 7504df52fcc3dd320091a362ecc0df1c93ec8cfd (patch) | |
tree | d459ca7e0adec2dcc8af74edc6c2642133deefc6 | |
parent | gl_rasterizer_cache: Implement UpdatePagesCachedCount. (diff) | |
download | yuzu-7504df52fcc3dd320091a362ecc0df1c93ec8cfd.tar yuzu-7504df52fcc3dd320091a362ecc0df1c93ec8cfd.tar.gz yuzu-7504df52fcc3dd320091a362ecc0df1c93ec8cfd.tar.bz2 yuzu-7504df52fcc3dd320091a362ecc0df1c93ec8cfd.tar.lz yuzu-7504df52fcc3dd320091a362ecc0df1c93ec8cfd.tar.xz yuzu-7504df52fcc3dd320091a362ecc0df1c93ec8cfd.tar.zst yuzu-7504df52fcc3dd320091a362ecc0df1c93ec8cfd.zip |
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 85e91c0e2..221d0a222 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -142,11 +142,6 @@ void RendererOpenGL::LoadFBToScreenInfo(const Tegra::FramebufferConfig& framebuf const u64 size_in_bytes{framebuffer.stride * framebuffer.height * bytes_per_pixel}; const VAddr framebuffer_addr{framebuffer.address + framebuffer.offset}; - // TODO(bunnei): The framebuffer region should only be invalidated if it is written to, not - // every frame. When we find the right place for this, the below line can be removed. - Memory::RasterizerFlushVirtualRegion(framebuffer_addr, size_in_bytes, - Memory::FlushMode::Invalidate); - // Framebuffer orientation handling framebuffer_transform_flags = framebuffer.transform_flags; |