diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-13 12:52:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-13 12:52:37 +0300 |
commit | 1716afe170d8c51024be78b01b651f44c73c8afa (patch) | |
tree | 0b3497bf8de93f52b7804857a07420d8ea58a89d /src/resources/image.h | |
parent | 927c411f815131a03eea065231d043692465c573 (diff) | |
download | mv-1716afe170d8c51024be78b01b651f44c73c8afa.tar.gz mv-1716afe170d8c51024be78b01b651f44c73c8afa.tar.bz2 mv-1716afe170d8c51024be78b01b651f44c73c8afa.tar.xz mv-1716afe170d8c51024be78b01b651f44c73c8afa.zip |
Fix compilation without opengl.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 12 |
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: |