summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-01 00:59:18 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-01 00:59:18 +0300
commit37334aacdb44a70d64abdc64df3886ad82fcf319 (patch)
treed8c138f729acba6c85000b3d4a2d814d49031b6d
parent7bc92c1fab9c1ea319958a270f56bce173712caa (diff)
downloadplus-37334aacdb44a70d64abdc64df3886ad82fcf319.tar.gz
plus-37334aacdb44a70d64abdc64df3886ad82fcf319.tar.bz2
plus-37334aacdb44a70d64abdc64df3886ad82fcf319.tar.xz
plus-37334aacdb44a70d64abdc64df3886ad82fcf319.zip
Split multi line #if into separate ifs in normalopenglgraphics.cpp
-rw-r--r--src/render/normalopenglgraphics.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index 51e50661b..ebb072d96 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.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/normalopenglgraphics.h"
@@ -1779,5 +1779,6 @@ void NormalOpenGLGraphics::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