1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

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.
This commit is contained in:
sfan5 2023-03-05 15:10:44 +01:00
parent c26e122485
commit 9d736e8b8b
14 changed files with 33 additions and 82 deletions

View file

@ -28,14 +28,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/numeric.h"
#include "config.h"
#if ENABLE_GLES
#include <IVideoDriver.h>
#endif
class IGameDef;
struct TileSpec;
struct TileDef;
namespace irr { namespace video { class IVideoDriver; } }
typedef std::vector<video::SColor> Palette;
/*
@ -133,9 +131,7 @@ public:
IWritableTextureSource *createTextureSource();
#if ENABLE_GLES
video::IImage *Align2Npot2(video::IImage *image, video::IVideoDriver *driver);
#endif
enum MaterialType{
TILE_MATERIAL_BASIC,