diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-05-18 10:57:49 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:38:33 +0200 |
commit | 175aa343ff1c9f931b266caf2d19b8df943dab0d (patch) | |
tree | c9cdf1f449232c7fc0728be6bbc86d8537ff44aa /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_shader_decompiler: Implement image binding settings (diff) | |
download | yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.gz yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.bz2 yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.lz yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.xz yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.zst yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.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, 2 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 4f7eeb22c..d613cb1dc 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -696,10 +696,9 @@ void RasterizerOpenGL::FlushAndInvalidateRegion(CacheAddr addr, u64 size) { bool RasterizerOpenGL::AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Regs::Surface& src, const Tegra::Engines::Fermi2D::Regs::Surface& dst, - const Common::Rectangle<u32>& src_rect, - const Common::Rectangle<u32>& dst_rect) { + const Tegra::Engines::Fermi2D::Config& copy_config) { MICROPROFILE_SCOPE(OpenGL_Blits); - texture_cache.DoFermiCopy(src, dst, src_rect, dst_rect); + texture_cache.DoFermiCopy(src, dst, copy_config); return true; } |