summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mobileopenglgraphics.h')
-rw-r--r--src/render/mobileopenglgraphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h
index 5cf018692..0496de283 100644
--- a/src/render/mobileopenglgraphics.h
+++ b/src/render/mobileopenglgraphics.h
@@ -23,7 +23,7 @@
#ifndef RENDER_MOBILEOPENGLGRAPHICS_H
#define RENDER_MOBILEOPENGLGRAPHICS_H
-#if defined(USE_OPENGL) && !defined(__native_client__)
+#if defined(USE_OPENGL) && !defined(__native_client__) && !defined(__SWITCH__)
#include "localconsts.h"