From c9958af6ca4680876b7a40809d51209e00f835fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Aug 2014 13:46:54 +0300 Subject: Fix compilation warning. --- src/graphicsmanager.cpp | 7 +++---- 1 file 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[] = -- cgit v1.2.3-70-g09d2