mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
graphics: Fix hot reload of the graphics settings
This commit is contained in:
parent
10b742c5a4
commit
d89e1fe093
|
|
@ -1412,6 +1412,8 @@ void CMinecraftApp::ActionGameSettings(int iPad,eGameSetting eVal)
|
||||||
pMinecraft->options->set(Options::Option::AMBIENT_OCCLUSION, true);
|
pMinecraft->options->set(Options::Option::AMBIENT_OCCLUSION, true);
|
||||||
if (graphicsLevel == 0) pMinecraft->options->set(Options::Option::PARTICLES, 0);
|
if (graphicsLevel == 0) pMinecraft->options->set(Options::Option::PARTICLES, 0);
|
||||||
}
|
}
|
||||||
|
if (pMinecraft && pMinecraft->levelRenderer && pMinecraft->level)
|
||||||
|
pMinecraft->levelRenderer->allChanged();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case eGameSetting_Gamma:
|
case eGameSetting_Gamma:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue