From 37334aacdb44a70d64abdc64df3886ad82fcf319 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Jun 2020 00:59:18 +0300 Subject: Split multi line #if into separate ifs in normalopenglgraphics.cpp --- src/render/normalopenglgraphics.cpp | 9 +++++---- 1 file 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 . */ -#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 -- cgit v1.2.3-60-g2f50