mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Drop dependency on IrrCompileConfig
The only remaining thing is IRRLICHT_SDK_VERSION via irrlicht.h
This commit is contained in:
@@ -17,7 +17,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <IrrCompileConfig.h>
|
||||
#include "settings.h"
|
||||
#include "porting.h"
|
||||
#include "filesys.h"
|
||||
@@ -208,11 +207,7 @@ void set_default_settings()
|
||||
settings->setDefault("texture_path", "");
|
||||
settings->setDefault("shader_path", "");
|
||||
#if ENABLE_GLES
|
||||
#ifdef _IRR_COMPILE_WITH_OGLES1_
|
||||
settings->setDefault("video_driver", "ogles1");
|
||||
#else
|
||||
settings->setDefault("video_driver", "ogles2");
|
||||
#endif
|
||||
#else
|
||||
settings->setDefault("video_driver", "opengl");
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user