summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_rasterizer_cache.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-27 04:47:49 +0100
committerLioncash <mathew1800@gmail.com>2019-02-27 09:38:39 +0100
commitb9238edd0d0bfa7c88ad81ef00347b5194ebed77 (patch)
tree73cbfa304b41edc3fc92f7b8e9bfb8832f701d49 /src/video_core/renderer_opengl/gl_rasterizer_cache.h
parentcommon/vector_math: Move Vec[x] types into the Common namespace (diff)
downloadyuzu-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 '')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
index 89d733c50..838554c35 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
@@ -28,7 +28,7 @@ namespace OpenGL {
class CachedSurface;
using Surface = std::shared_ptr<CachedSurface>;
-using SurfaceSurfaceRect_Tuple = std::tuple<Surface, Surface, MathUtil::Rectangle<u32>>;
+using SurfaceSurfaceRect_Tuple = std::tuple<Surface, Surface, Common::Rectangle<u32>>;
using SurfaceTarget = VideoCore::Surface::SurfaceTarget;
using SurfaceType = VideoCore::Surface::SurfaceType;
@@ -71,7 +71,7 @@ struct SurfaceParams {
}
/// Returns the rectangle corresponding to this surface
- MathUtil::Rectangle<u32> GetRect(u32 mip_level = 0) const;
+ Common::Rectangle<u32> GetRect(u32 mip_level = 0) const;
/// Returns the total size of this surface in bytes, adjusted for compression
std::size_t SizeInBytesRaw(bool ignore_tiled = false) const {
@@ -430,8 +430,8 @@ public:
/// Copies the contents of one surface to another
void FermiCopySurface(const Tegra::Engines::Fermi2D::Regs::Surface& src_config,
const Tegra::Engines::Fermi2D::Regs::Surface& dst_config,
- const MathUtil::Rectangle<u32>& src_rect,
- const MathUtil::Rectangle<u32>& dst_rect);
+ const Common::Rectangle<u32>& src_rect,
+ const Common::Rectangle<u32>& dst_rect);
private:
void LoadSurface(const Surface& surface);