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/tile.h | |
| 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/tile.h')
| -rw-r--r-- | src/client/tile.h | 8 |
1 files changed, 2 insertions, 6 deletions
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 <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, |
