this will break the whole renderer pipeline

This commit is contained in:
JuiceyDev 2026-03-07 00:08:03 +01:00
parent 03f92a4dd7
commit 8281af31b6
2 changed files with 2 additions and 1 deletions

View file

@ -1004,6 +1004,7 @@ int GameRenderer::getLightTexture(int iPad, Level *level)
void GameRenderer::render(float a, bool bFirst)
{
float a = 1;
if( _updateLightTexture && bFirst) updateLightTexture(a);
if (Display::isActive())
{

View file

@ -683,7 +683,7 @@ int LevelRenderer::render(shared_ptr<Mob> player, int layer, double alpha, bool
allChanged();
}
if (layer == 1)
if (layer == 0)
{
totalChunks = 0;
offscreenChunks = 0;