summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index ee341af75..c4b0cf540 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -208,6 +208,12 @@ class Image : public Resource
int getTextureHeight() const
{ return mTexHeight; }
+ static int getTextureType()
+ { return mTextureType; }
+
+ static int mTextureType;
+#endif
+
bool isHasAlphaChannel()
{ return mHasAlphaChannel; }
@@ -217,12 +223,6 @@ class Image : public Resource
void setAlphaVisible(bool b)
{ mIsAlphaVisible = b; }
- static int getTextureType()
- { return mTextureType; }
-
- static int mTextureType;
-#endif
-
SDL_Rect mBounds;
protected: