Fix building of raylib_opengl_interop on PLATFORM_DESKTOP_SDL

I tested this with CMake. I don't know if the examples makefile
currently handles this case.
This commit is contained in:
Peter0x44 2024-02-25 00:13:15 +00:00
parent 2a774a88f5
commit 2c4522804e

View File

@ -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