diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-24 23:47:59 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:11 +0200 |
commit | fa59a7b4d8403c0d277b189c880469cf8113e386 (patch) | |
tree | 84f23efbbc588dffd1ab4f38c315cfc951b57c7d /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | texture_cache: Split texture cache into different files (diff) | |
download | yuzu-fa59a7b4d8403c0d277b189c880469cf8113e386.tar yuzu-fa59a7b4d8403c0d277b189c880469cf8113e386.tar.gz yuzu-fa59a7b4d8403c0d277b189c880469cf8113e386.tar.bz2 yuzu-fa59a7b4d8403c0d277b189c880469cf8113e386.tar.lz yuzu-fa59a7b4d8403c0d277b189c880469cf8113e386.tar.xz yuzu-fa59a7b4d8403c0d277b189c880469cf8113e386.tar.zst yuzu-fa59a7b4d8403c0d277b189c880469cf8113e386.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index af63365a4..027e9d293 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -738,8 +738,9 @@ bool RasterizerOpenGL::AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Regs const Common::Rectangle<u32>& src_rect, const Common::Rectangle<u32>& dst_rect) { MICROPROFILE_SCOPE(OpenGL_Blits); - UNIMPLEMENTED(); - // texture_cache.FermiCopySurface(src, dst, src_rect, dst_rect); + 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); return true; } |