From 85f7d5865bbfbfa62bc098ae0533ce3ea95ee7c6 Mon Sep 17 00:00:00 2001 From: BeWorld <36823759+BeWorld2018@users.noreply.github.com> Date: Fri, 20 Mar 2020 10:18:06 +0100 Subject: [PATCH] MORPHOS: Update opengl-sys.h --- backends/graphics/opengl/opengl-sys.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backends/graphics/opengl/opengl-sys.h b/backends/graphics/opengl/opengl-sys.h index 5e754bb328a..97ebb887772 100644 --- a/backends/graphics/opengl/opengl-sys.h +++ b/backends/graphics/opengl/opengl-sys.h @@ -30,6 +30,10 @@ #include "backends/platform/sdl/sdl-sys.h" #endif +#ifdef __MORPHOS__ +#define USE_GLES_MODE 1 +#endif + // On OS X we only support GL contexts. The reason is that Apple's GL interface // uses "void *" for GLhandleARB which is not type compatible with GLint. This // kills our aliasing trick for extension functions and thus would force us to