mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-24 10:25:39 +00:00
feat: enhance Linux rendering support and clean up unused UI code
This commit is contained in:
@@ -1849,6 +1849,16 @@ void Minecraft::run_middle()
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef __linux__
|
||||
// On Linux, Iggy Flash UI is not available. If no players were rendered
|
||||
// (menu / title-screen state), call GameRenderer directly so mc->screen draws.
|
||||
if (bFirst)
|
||||
{
|
||||
localPlayerIdx = 0;
|
||||
RenderManager.StateSetViewport(C4JRender::VIEWPORT_TYPE_FULLSCREEN);
|
||||
gameRenderer->render(timer->a, true);
|
||||
}
|
||||
#endif
|
||||
// If there's an unoccupied quadrant, then clear that to black
|
||||
if( unoccupiedQuadrant > -1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user