summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/normalopenglgraphics.h')
-rw-r--r--src/render/normalopenglgraphics.h9
1 files changed, 5 insertions, 4 deletions
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