From f0d49253e438dc7e39a2a95598c5ebac59d9ef3c Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 6 Apr 2014 16:56:13 -0400 Subject: [PATCH] calling SwapBuffers from hw_lcd.cpp --- src/core/src/hw/hw_lcd.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); } }