summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
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[] =