aboutsummaryrefslogtreecommitdiff
path: root/src/client/tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/tile.h')
-rw-r--r--src/client/tile.h8
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,