aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-04-06 16:56:13 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-04-06 16:56:13 -0400
commitf0d49253e438dc7e39a2a95598c5ebac59d9ef3c (patch)
tree15af7bbac504982d617a0d27737aada9cb4e9aa4 /src/core
parent551b2a52e0c36613a3ce459dcd8b2aac39de707b (diff)
calling SwapBuffers from hw_lcd.cpp
Diffstat (limited to 'src/core')
-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 7e372834..072eede3 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();
}
}