diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-30 14:01:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-30 14:01:54 +0300 |
commit | 1977d9222423c08a3a451497b1d034ade224d7b8 (patch) | |
tree | d54de48f9fc4103438f2e47201e979d1f670637f /src/render/modernopenglgraphics.cpp | |
parent | 740b73aa50af1fc38197fa3e5d34cf400e1d8120 (diff) | |
download | manaplus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.gz manaplus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.bz2 manaplus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.xz manaplus-1977d9222423c08a3a451497b1d034ade224d7b8.zip |
Split multi line #if into separate ifs
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r-- | src/render/modernopenglgraphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index 5f2fd7ddd..e99f9440c 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -20,8 +20,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#if defined(USE_OPENGL) && !defined(ANDROID) && !defined(__native_client__) \ - && !defined(__SWITCH__) +#ifdef USE_OPENGL +#if !defined(ANDROID) && !defined(__native_client__) && !defined(__SWITCH__) #include "render/modernopenglgraphics.h" @@ -1402,5 +1402,5 @@ void ModernOpenGLGraphics::debugBindTexture(const Image *restrict const } #endif // DEBUG_BIND_TEXTURE -#endif // defined(USE_OPENGL) && !defined(ANDROID) && - // !defined(__native_client__) +#endif // !defined(ANDROID) && !defined(__native_client__) && !defined(__SWITCH__) +#endif // USE_OPENGL |