mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 00:32:48 +01:00
calling SwapBuffers from hw_lcd.cpp
This commit is contained in:
parent
551b2a52e0
commit
f0d49253e4
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
#include "hw_lcd.h"
|
#include "hw_lcd.h"
|
||||||
|
#include "video_core.h"
|
||||||
|
|
||||||
namespace LCD {
|
namespace LCD {
|
||||||
|
|
||||||
|
@ -47,6 +48,7 @@ void Update() {
|
||||||
if ((current_ticks - g_last_ticks) >= kFrameTicks) {
|
if ((current_ticks - g_last_ticks) >= kFrameTicks) {
|
||||||
g_last_ticks = current_ticks;
|
g_last_ticks = current_ticks;
|
||||||
NOTICE_LOG(LCD, "Update frame");
|
NOTICE_LOG(LCD, "Update frame");
|
||||||
|
VideoCore::g_renderer->SwapBuffers();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue