summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-06 22:56:13 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-06 22:56:13 +0200
commitf0d49253e438dc7e39a2a95598c5ebac59d9ef3c (patch)
tree15af7bbac504982d617a0d27737aada9cb4e9aa4
parentinitialize VideoCore (diff)
downloadyuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar.gz
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar.bz2
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar.lz
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar.xz
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar.zst
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.zip
-rw-r--r--src/core/src/hw/hw_lcd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/src/hw/hw_lcd.cpp b/src/core/src/hw/hw_lcd.cpp
index 7e3728346..072eede32 100644
--- a/src/core/src/hw/hw_lcd.cpp
+++ b/src/core/src/hw/hw_lcd.cpp
@@ -25,6 +25,7 @@
#include "log.h"
#include "core.h"
#include "hw_lcd.h"
+#include "video_core.h"
namespace LCD {
@@ -47,6 +48,7 @@ void Update() {
if ((current_ticks - g_last_ticks) >= kFrameTicks) {
g_last_ticks = current_ticks;
NOTICE_LOG(LCD, "Update frame");
+ VideoCore::g_renderer->SwapBuffers();
}
}