summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-18 13:46:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-18 13:46:54 +0300
commitc9958af6ca4680876b7a40809d51209e00f835fa (patch)
tree6e705a4381aa22ae2267ecdfcbb435e55ba6e814 /src/graphicsmanager.cpp
parentfcff34eab40f80ec110c4370154a0a05f372cc55 (diff)
downloadplus-c9958af6ca4680876b7a40809d51209e00f835fa.tar.gz
plus-c9958af6ca4680876b7a40809d51209e00f835fa.tar.bz2
plus-c9958af6ca4680876b7a40809d51209e00f835fa.tar.xz
plus-c9958af6ca4680876b7a40809d51209e00f835fa.zip
Fix compilation warning.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 2a8be3309..5f0ab66dd 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -81,16 +81,15 @@
#ifndef GL_MAX_RENDERBUFFER_SIZE
#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
#endif
+#define useCompression(name) \
+ OpenGLImageHelper::setInternalTextureType(name); \
+ logger->log("using " #name " texture compression");
#endif
GraphicsManager graphicsManager;
RenderType openGLMode = RENDER_SOFTWARE;
-#define useCompression(name) \
- OpenGLImageHelper::setInternalTextureType(name); \
- logger->log("using " #name " texture compression");
-
const int densitySize = 6;
const std::string densityNames[] =