diff options
author | sfan5 <sfan5@live.de> | 2023-03-05 15:10:44 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-04-08 20:19:35 +0200 |
commit | 9d736e8b8baeeacad9cfa94edd18adfcaf000029 (patch) | |
tree | 6799a199edaeb82481edea6f101dc744b4507e9f /src/client/camera.cpp | |
parent | c26e122485a7180edf434c0c1211713ff377d6d7 (diff) | |
download | minetest-9d736e8b8baeeacad9cfa94edd18adfcaf000029.tar.xz |
Drop ENABLE_GLES option
ENABLE_GLES predates forking Irrlicht. Its primary use was to distinguish Irrlicht-ogles from upstream version as Minetest could be compiled with either.
That's not necessary anymore and gets in the way sometimes.
Diffstat (limited to 'src/client/camera.cpp')
-rw-r--r-- | src/client/camera.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/camera.cpp b/src/client/camera.cpp index 13ca7aa5c..dce94495b 100644 --- a/src/client/camera.cpp +++ b/src/client/camera.cpp @@ -599,13 +599,7 @@ void Camera::updateViewingRange() { f32 viewing_range = g_settings->getFloat("viewing_range"); - // Ignore near_plane setting on all other platforms to prevent abuse -#if ENABLE_GLES - m_cameranode->setNearValue(rangelim( - g_settings->getFloat("near_plane"), 0.0f, 0.25f) * BS); -#else m_cameranode->setNearValue(0.1f * BS); -#endif m_draw_control.wanted_range = std::fmin(adjustDist(viewing_range, getFovMax()), 4000); if (m_draw_control.range_all) { |