cleanup: flatten dead branches in client render texture and runtime code

This commit is contained in:
MatthewBeshay
2026-03-26 20:29:59 +11:00
parent f19563bbd7
commit 12ff12a263
68 changed files with 169 additions and 6669 deletions
+1 -9
View File
@@ -108,7 +108,7 @@ void Options::init() {
advancedOpengl = false;
// 4JCRAFT V-Sync / VSync
#ifdef ENABLE_VSYNC
#if defined(ENABLE_VSYNC)
framerateLimit = 2;
#else
framerateLimit = 3;
@@ -198,19 +198,11 @@ void Options::setKey(int i, int key) {
void Options::set(const Options::Option* item, float fVal) {
if (item == Option::MUSIC) {
music = fVal;
#if 0
minecraft->soundEngine->updateMusicVolume(fVal * 2.0f);
#else
minecraft->soundEngine->updateMusicVolume(fVal);
#endif
}
if (item == Option::SOUND) {
sound = fVal;
#if 0
minecraft->soundEngine->updateSoundEffectVolume(fVal * 2.0f);
#else
minecraft->soundEngine->updateSoundEffectVolume(fVal);
#endif
}
if (item == Option::SENSITIVITY) {
sensitivity = fVal;