diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-18 13:46:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-18 13:46:54 +0300 |
commit | c9958af6ca4680876b7a40809d51209e00f835fa (patch) | |
tree | 6e705a4381aa22ae2267ecdfcbb435e55ba6e814 /src | |
parent | fcff34eab40f80ec110c4370154a0a05f372cc55 (diff) | |
download | plus-c9958af6ca4680876b7a40809d51209e00f835fa.tar.gz plus-c9958af6ca4680876b7a40809d51209e00f835fa.tar.bz2 plus-c9958af6ca4680876b7a40809d51209e00f835fa.tar.xz plus-c9958af6ca4680876b7a40809d51209e00f835fa.zip |
Fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/graphicsmanager.cpp | 7 |
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[] = |