mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 13:33:37 +00:00
Clear GDraw ID buffer before Linux intro UI
This commit is contained in:
parent
6a49f3a83e
commit
b0a39d7a3a
|
|
@ -41,6 +41,9 @@ void ConsoleUIController::render() {
|
|||
if (!gdraw_funcs) return;
|
||||
|
||||
gdraw_GL_SetTileOrigin(0, 0, 0);
|
||||
if (!app.GetGameStarted() && gdraw_funcs->ClearID) {
|
||||
gdraw_funcs->ClearID();
|
||||
}
|
||||
|
||||
// render
|
||||
renderScenes();
|
||||
|
|
@ -109,4 +112,4 @@ void ConsoleUIController::shutdown() {
|
|||
gdraw_funcs = nullptr;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue