mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-12 12:15:26 +01:00
Ignore near_plane setting on non-Android platforms (#8749)
Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
This commit is contained in:
@@ -165,7 +165,9 @@ void set_default_settings(Settings *settings)
|
||||
settings->setDefault("fps_max", "60");
|
||||
settings->setDefault("pause_fps_max", "20");
|
||||
settings->setDefault("viewing_range", "100");
|
||||
#if ENABLE_GLES
|
||||
settings->setDefault("near_plane", "0.1");
|
||||
#endif
|
||||
settings->setDefault("screen_w", "1024");
|
||||
settings->setDefault("screen_h", "600");
|
||||
settings->setDefault("autosave_screensize", "true");
|
||||
|
||||
Reference in New Issue
Block a user