diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-27 04:47:49 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-27 09:38:39 +0100 |
commit | b9238edd0d0bfa7c88ad81ef00347b5194ebed77 (patch) | |
tree | 73cbfa304b41edc3fc92f7b8e9bfb8832f701d49 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | common/vector_math: Move Vec[x] types into the Common namespace (diff) | |
download | yuzu-b9238edd0d0bfa7c88ad81ef00347b5194ebed77.tar yuzu-b9238edd0d0bfa7c88ad81ef00347b5194ebed77.tar.gz yuzu-b9238edd0d0bfa7c88ad81ef00347b5194ebed77.tar.bz2 yuzu-b9238edd0d0bfa7c88ad81ef00347b5194ebed77.tar.lz yuzu-b9238edd0d0bfa7c88ad81ef00347b5194ebed77.tar.xz yuzu-b9238edd0d0bfa7c88ad81ef00347b5194ebed77.tar.zst yuzu-b9238edd0d0bfa7c88ad81ef00347b5194ebed77.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 12d876120..09fa01d25 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -779,8 +779,8 @@ void RasterizerOpenGL::FlushAndInvalidateRegion(VAddr addr, u64 size) { bool RasterizerOpenGL::AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Regs::Surface& src, const Tegra::Engines::Fermi2D::Regs::Surface& dst, - const MathUtil::Rectangle<u32>& src_rect, - const MathUtil::Rectangle<u32>& dst_rect) { + const Common::Rectangle<u32>& src_rect, + const Common::Rectangle<u32>& dst_rect) { MICROPROFILE_SCOPE(OpenGL_Blits); res_cache.FermiCopySurface(src, dst, src_rect, dst_rect); return true; @@ -1034,7 +1034,7 @@ void RasterizerOpenGL::SyncViewport(OpenGLState& current_state) { for (std::size_t i = 0; i < viewport_count; i++) { auto& viewport = current_state.viewports[i]; const auto& src = regs.viewports[i]; - const MathUtil::Rectangle<s32> viewport_rect{regs.viewport_transform[i].GetRect()}; + const Common::Rectangle<s32> viewport_rect{regs.viewport_transform[i].GetRect()}; viewport.x = viewport_rect.left; viewport.y = viewport_rect.bottom; viewport.width = viewport_rect.GetWidth(); |