diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-05-08 05:13:05 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | 324e470879e63423844a687f7d675a0536006f07 (patch) | |
tree | f64ad5cab4dc4f6ba1c63c9d34fc356b64b63b31 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | surface_view: Add constructor for ViewParams (diff) | |
download | yuzu-324e470879e63423844a687f7d675a0536006f07.tar yuzu-324e470879e63423844a687f7d675a0536006f07.tar.gz yuzu-324e470879e63423844a687f7d675a0536006f07.tar.bz2 yuzu-324e470879e63423844a687f7d675a0536006f07.tar.lz yuzu-324e470879e63423844a687f7d675a0536006f07.tar.xz yuzu-324e470879e63423844a687f7d675a0536006f07.tar.zst yuzu-324e470879e63423844a687f7d675a0536006f07.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 77ac963b4..d0e7b61e7 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -747,9 +747,7 @@ bool RasterizerOpenGL::AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Regs const Common::Rectangle<u32>& src_rect, const Common::Rectangle<u32>& dst_rect) { MICROPROFILE_SCOPE(OpenGL_Blits); - const auto src_surface{texture_cache.GetFermiSurface(src)}; - const auto dst_surface{texture_cache.GetFermiSurface(dst)}; - // blitter.Blit(src_surface, dst_surface, src_rect, dst_rect); + texture_cache.DoFermiCopy(src, dst, src_rect, dst_rect); return true; } |