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/progs/manaplus/actions | |
parent | 740b73aa50af1fc38197fa3e5d34cf400e1d8120 (diff) | |
download | plus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.gz plus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.bz2 plus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.xz plus-1977d9222423c08a3a451497b1d034ade224d7b8.zip |
Split multi line #if into separate ifs
Diffstat (limited to 'src/progs/manaplus/actions')
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index c367b01ee..6f9bf56b9 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -1528,11 +1528,12 @@ impHandler(dumpTests) impHandler0(dumpOGL) { -#if defined(USE_OPENGL) && !defined(ANDROID) && !defined(__native_client__) \ - && !defined(__SWITCH__) +#ifdef USE_OPENGL +#if !defined(ANDROID) && !defined(__native_client__) && !defined(__SWITCH__) NormalOpenGLGraphics::dumpSettings(); -#endif // defined(USE_OPENGL) && !defined(ANDROID) && - // !defined(__native_client__) +#endif // !defined(ANDROID) && !defined(__native_client__) && + // !defined(__SWITCH__) +#endif // USE_OPENGL return true; } |