summaryrefslogtreecommitdiff
path: root/src/resources/safeopenglimagehelper.h
diff options
context:
space:
mode:
authorcpasjuste <cpasjuste@gmail.com>2020-04-23 11:16:31 +0200
committercpasjuste <cpasjuste@gmail.com>2020-04-23 11:16:31 +0200
commite124615493f4f84d372a99ea604220a8e850dde1 (patch)
treeaf5a867b9acc4b528b962066cbf663cca95770b2 /src/resources/safeopenglimagehelper.h
parent177077c6563245504e4aa443cce3bdba7c65db42 (diff)
downloadmv-e124615493f4f84d372a99ea604220a8e850dde1.tar.gz
mv-e124615493f4f84d372a99ea604220a8e850dde1.tar.bz2
mv-e124615493f4f84d372a99ea604220a8e850dde1.tar.xz
mv-e124615493f4f84d372a99ea604220a8e850dde1.zip
switch: enable opengles2 renderer
Diffstat (limited to 'src/resources/safeopenglimagehelper.h')
-rw-r--r--src/resources/safeopenglimagehelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/safeopenglimagehelper.h b/src/resources/safeopenglimagehelper.h
index 4a2e9346b..7b2098b11 100644
--- a/src/resources/safeopenglimagehelper.h
+++ b/src/resources/safeopenglimagehelper.h
@@ -25,7 +25,7 @@
#include "localconsts.h"
-#if defined(USE_OPENGL) && !defined(ANDROID)
+#if defined(USE_OPENGL) && !defined(ANDROID) && !defined(__SWITCH__)
#ifndef GL_TEXTURE_RECTANGLE_ARB
#define GL_TEXTURE_RECTANGLE_ARB 0x84F5