From 9d736e8b8baeeacad9cfa94edd18adfcaf000029 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 5 Mar 2023 15:10:44 +0100 Subject: 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. --- src/client/tile.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/client/tile.h') diff --git a/src/client/tile.h b/src/client/tile.h index c60418d12..0597d093e 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -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 -#endif - class IGameDef; struct TileSpec; struct TileDef; +namespace irr { namespace video { class IVideoDriver; } } + typedef std::vector 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, -- cgit v1.2.3