summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-06 16:56:13 -0400
committerGravatar bunnei2014-04-06 16:56:13 -0400
commitf0d49253e438dc7e39a2a95598c5ebac59d9ef3c (patch)
tree15af7bbac504982d617a0d27737aada9cb4e9aa4 /src
parentinitialize VideoCore (diff)
downloadyuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar.gz
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.tar.xz
yuzu-f0d49253e438dc7e39a2a95598c5ebac59d9ef3c.zip
calling SwapBuffers from hw_lcd.cpp
Diffstat (limited to 'src')
-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 @@
25#include "log.h" 25#include "log.h"
26#include "core.h" 26#include "core.h"
27#include "hw_lcd.h" 27#include "hw_lcd.h"
28#include "video_core.h"
28 29
29namespace LCD { 30namespace LCD {
30 31
@@ -47,6 +48,7 @@ void Update() {
47 if ((current_ticks - g_last_ticks) >= kFrameTicks) { 48 if ((current_ticks - g_last_ticks) >= kFrameTicks) {
48 g_last_ticks = current_ticks; 49 g_last_ticks = current_ticks;
49 NOTICE_LOG(LCD, "Update frame"); 50 NOTICE_LOG(LCD, "Update frame");
51 VideoCore::g_renderer->SwapBuffers();
50 } 52 }
51} 53}
52 54