summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-09 18:49:05 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-09 18:49:05 +0300
commitb9d66c41246fef56e41f600b5523a5ff1a29a1c8 (patch)
tree3e6e546d393975b83ae951561cb6b05d920ef048 /src/resources/image.h
parent8bed92098b94ebe14dfd9d622585fbfc150a8757 (diff)
downloadmanaverse-b9d66c41246fef56e41f600b5523a5ff1a29a1c8.tar.gz
manaverse-b9d66c41246fef56e41f600b5523a5ff1a29a1c8.tar.bz2
manaverse-b9d66c41246fef56e41f600b5523a5ff1a29a1c8.tar.xz
manaverse-b9d66c41246fef56e41f600b5523a5ff1a29a1c8.zip
Improve map loading speed.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 585b3d62b..beaba7b0e 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -209,6 +209,8 @@ class Image : public Resource
static int getTextureType()
{ return mTextureType; }
+
+ static int mTextureType;
#endif
protected:
@@ -268,7 +270,6 @@ class Image : public Resource
int mTexWidth, mTexHeight;
static int mUseOpenGL;
- static int mTextureType;
static int mTextureSize;
#endif
};