summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-30 14:01:54 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-30 14:01:54 +0300
commit1977d9222423c08a3a451497b1d034ade224d7b8 (patch)
treed54de48f9fc4103438f2e47201e979d1f670637f /src/render/modernopenglgraphics.h
parent740b73aa50af1fc38197fa3e5d34cf400e1d8120 (diff)
downloadplus-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/render/modernopenglgraphics.h')
-rw-r--r--src/render/modernopenglgraphics.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index d5a9baf88..4362ea20d 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -23,8 +23,8 @@
#ifndef RENDER_MODERNOPENGLGRAPHICS_H
#define RENDER_MODERNOPENGLGRAPHICS_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"
@@ -156,5 +156,6 @@ class ModernOpenGLGraphics final : public Graphics
};
#endif // defined(USE_OPENGL) && !defined(ANDROID) &&
// !defined(__native_client__)
+#endif // USE_OPENGL
#endif // RENDER_MODERNOPENGLGRAPHICS_H