summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-23 05:38:45 +0100
committerbunnei <bunneidev@gmail.com>2019-03-16 05:41:08 +0100
commit10118c71e03f1814b4f9615e1c4baf3f64e03358 (patch)
treef078626f29094a1bac002f5d44dab557104c3df1 /src/video_core/renderer_opengl
parentMerge pull request #2237 from bunnei/cache-host-addr (diff)
downloadyuzu-10118c71e03f1814b4f9615e1c4baf3f64e03358.tar
yuzu-10118c71e03f1814b4f9615e1c4baf3f64e03358.tar.gz
yuzu-10118c71e03f1814b4f9615e1c4baf3f64e03358.tar.bz2
yuzu-10118c71e03f1814b4f9615e1c4baf3f64e03358.tar.lz
yuzu-10118c71e03f1814b4f9615e1c4baf3f64e03358.tar.xz
yuzu-10118c71e03f1814b4f9615e1c4baf3f64e03358.tar.zst
yuzu-10118c71e03f1814b4f9615e1c4baf3f64e03358.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index b97576309..5e3d862c6 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -164,8 +164,7 @@ void RendererOpenGL::LoadFBToScreenInfo(const Tegra::FramebufferConfig& framebuf
// Reset the screen info's display texture to its own permanent texture
screen_info.display_texture = screen_info.texture.resource.handle;
- Memory::RasterizerFlushVirtualRegion(framebuffer_addr, size_in_bytes,
- Memory::FlushMode::Flush);
+ rasterizer->FlushRegion(ToCacheAddr(Memory::GetPointer(framebuffer_addr)), size_in_bytes);
constexpr u32 linear_bpp = 4;
VideoCore::MortonCopyPixels128(VideoCore::MortonSwizzleMode::MortonToLinear,