summaryrefslogtreecommitdiffhomepage
path: root/examples/others/raylib_opengl_interop.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/others/raylib_opengl_interop.c')
-rw-r--r--examples/others/raylib_opengl_interop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/others/raylib_opengl_interop.c b/examples/others/raylib_opengl_interop.c
index 33a58a22..c1b58d67 100644
--- a/examples/others/raylib_opengl_interop.c
+++ b/examples/others/raylib_opengl_interop.c
@@ -26,7 +26,7 @@
#include "raylib.h"
-#if defined(PLATFORM_DESKTOP)
+#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_DESKTOP_SDL)
#if defined(GRAPHICS_API_OPENGL_ES2)
#include "glad_gles2.h" // Required for: OpenGL functionality
#define glGenVertexArrays glGenVertexArraysOES
@@ -163,4 +163,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
-} \ No newline at end of file
+}