summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-05-20 02:57:35 +0200
committerarchshift <admin@archshift.com>2014-05-20 02:57:35 +0200
commit5a8ed196e6e9416134a85fbc7da14fed3af307e4 (patch)
tree7a0fbc988b249f7a36fed111a411fd39f775fc36 /src/video_core
parentCMakeLists: Fixed GLEW include var name, compile flag vars (diff)
downloadyuzu-5a8ed196e6e9416134a85fbc7da14fed3af307e4.tar
yuzu-5a8ed196e6e9416134a85fbc7da14fed3af307e4.tar.gz
yuzu-5a8ed196e6e9416134a85fbc7da14fed3af307e4.tar.bz2
yuzu-5a8ed196e6e9416134a85fbc7da14fed3af307e4.tar.lz
yuzu-5a8ed196e6e9416134a85fbc7da14fed3af307e4.tar.xz
yuzu-5a8ed196e6e9416134a85fbc7da14fed3af307e4.tar.zst
yuzu-5a8ed196e6e9416134a85fbc7da14fed3af307e4.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp4
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index f2e809b1d..bb5eb34aa 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -37,7 +37,7 @@ void RendererOpenGL::SwapBuffers() {
// EFB->XFB copy
// TODO(bunnei): This is a hack and does not belong here. The copy should be triggered by some
// register write We're also treating both framebuffers as a single one in OpenGL.
- BasicRect framebuffer_size(0, 0, m_resolution_width, m_resolution_height);
+ common::Rect framebuffer_size(0, 0, m_resolution_width, m_resolution_height);
RenderXFB(framebuffer_size, framebuffer_size);
// XFB->Window copy
@@ -75,7 +75,7 @@ void RendererOpenGL::FlipFramebuffer(const u8* in, u8* out) {
* @param src_rect Source rectangle in XFB to copy
* @param dst_rect Destination rectangle in output framebuffer to copy to
*/
-void RendererOpenGL::RenderXFB(const BasicRect& src_rect, const BasicRect& dst_rect) {
+void RendererOpenGL::RenderXFB(const common::Rect& src_rect, const common::Rect& dst_rect) {
FlipFramebuffer(LCD::GetFramebufferPointer(LCD::g_regs.framebuffer_top_left_1), m_xfb_top_flipped);
FlipFramebuffer(LCD::GetFramebufferPointer(LCD::g_regs.framebuffer_sub_left_1), m_xfb_bottom_flipped);
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h
index 06e602b46..dd811cad6 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.h
+++ b/src/video_core/renderer_opengl/renderer_opengl.h
@@ -28,7 +28,7 @@ public:
* @param src_rect Source rectangle in XFB to copy
* @param dst_rect Destination rectangle in output framebuffer to copy to
*/
- void RenderXFB(const BasicRect& src_rect, const BasicRect& dst_rect);
+ void RenderXFB(const common::Rect& src_rect, const common::Rect& dst_rect);
/**
* Set the emulator window to use for renderer