diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-24 06:46:51 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-04-25 04:31:46 +0200 |
commit | fbb3cd110c598003bf58a2aca5be489b5f3fb772 (patch) | |
tree | 570d425c25583a3609d719e3b5f495a5dbbf00b1 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_rasterizer_cache: Handle compressed texture sizes. (diff) | |
download | yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.gz yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.bz2 yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.lz yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.xz yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.zst yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index bc9368877..b457b1fbe 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -560,6 +560,7 @@ bool RasterizerOpenGL::AccelerateDisplay(const Tegra::FramebufferConfig& framebu SurfaceParams src_params; src_params.cpu_addr = framebuffer_addr; + src_params.addr = res_cache.TryFindFramebufferGpuAddress(framebuffer_addr).get_value_or(0); src_params.width = std::min(framebuffer.width, pixel_stride); src_params.height = framebuffer.height; src_params.stride = pixel_stride; |