mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-01 06:17:00 +00:00
Clear GDraw ID buffer before Linux intro UI
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user