From 1716afe170d8c51024be78b01b651f44c73c8afa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 13 Jul 2011 12:52:37 +0300 Subject: Fix compilation without opengl. --- src/resources/image.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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: -- cgit v1.2.3-70-g09d2