summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-05-17 22:50:33 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-12 12:10:49 +0200
commit1dfa3928242ad486040b1c65768faa2c7fce4654 (patch)
tree50efedc7e5090c36df63043bd542e7e8508fa1c0 /src/video_core
parentcitra-qt: Add GX command history viewer. (diff)
downloadyuzu-1dfa3928242ad486040b1c65768faa2c7fce4654.tar
yuzu-1dfa3928242ad486040b1c65768faa2c7fce4654.tar.gz
yuzu-1dfa3928242ad486040b1c65768faa2c7fce4654.tar.bz2
yuzu-1dfa3928242ad486040b1c65768faa2c7fce4654.tar.lz
yuzu-1dfa3928242ad486040b1c65768faa2c7fce4654.tar.xz
yuzu-1dfa3928242ad486040b1c65768faa2c7fce4654.tar.zst
yuzu-1dfa3928242ad486040b1c65768faa2c7fce4654.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp6
1 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 bb5eb34aa..70af47c59 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -2,7 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#include "core/hw/lcd.h"
+#include "core/hw/gpu.h"
#include "video_core/video_core.h"
#include "video_core/renderer_opengl/renderer_opengl.h"
@@ -77,8 +77,8 @@ void RendererOpenGL::FlipFramebuffer(const u8* in, u8* out) {
*/
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);
+ FlipFramebuffer(GPU::GetFramebufferPointer(GPU::g_regs.framebuffer_top_left_1), m_xfb_top_flipped);
+ FlipFramebuffer(GPU::GetFramebufferPointer(GPU::g_regs.framebuffer_sub_left_1), m_xfb_bottom_flipped);
// Blit the top framebuffer
// ------------------------