mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Drop dependency on IrrCompileConfig
The only remaining thing is IRRLICHT_SDK_VERSION via irrlicht.h
This commit is contained in:
parent
39f4d26177
commit
d6be6682ec
11 changed files with 1 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue