From 1977d9222423c08a3a451497b1d034ade224d7b8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2020 14:01:54 +0300 Subject: Split multi line #if into separate ifs --- src/render/normalopenglgraphics.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/render/normalopenglgraphics.h') diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h index 9964a61b8..8d3b23180 100644 --- a/src/render/normalopenglgraphics.h +++ b/src/render/normalopenglgraphics.h @@ -23,8 +23,8 @@ #ifndef RENDER_NORMALOPENGLGRAPHICS_H #define RENDER_NORMALOPENGLGRAPHICS_H -#if defined USE_OPENGL && !defined ANDROID && \ - !defined(__native_client__) && !defined(__SWITCH__) +#ifdef USE_OPENGL +#if !defined(ANDROID) && !defined(__native_client__) && !defined(__SWITCH__) #include "localconsts.h" @@ -128,7 +128,8 @@ class NormalOpenGLGraphics final : public Graphics FBOInfo mFbo; }; -#endif // defined USE_OPENGL && !defined ANDROID && - // !defined(__native_client__) +#endif // !defined ANDROID && !defined(__native_client__) && + // !defined(__SWITCH__) +#endif // USE_OPENGL #endif // RENDER_NORMALOPENGLGRAPHICS_H -- cgit v1.2.3-60-g2f50