diff options
| author | Peter0x44 <[email protected]> | 2024-02-26 09:29:21 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-26 10:29:21 +0100 |
| commit | 1df91e74b97e4a7c3e0bb6a81f748debe551aaf0 (patch) | |
| tree | 24e4886e7800fd24fd0aa63b3e34e4f6464d5233 /examples/others | |
| parent | 53cfc7c96564fad3319d642c58e74ce37e49efbc (diff) | |
| download | raylib-1df91e74b97e4a7c3e0bb6a81f748debe551aaf0.tar.gz raylib-1df91e74b97e4a7c3e0bb6a81f748debe551aaf0.zip | |
Fix building of raylib_opengl_interop on PLATFORM_DESKTOP_SDL (#3826)
I tested this with CMake. I don't know if the examples makefile
currently handles this case.
Diffstat (limited to 'examples/others')
| -rw-r--r-- | examples/others/raylib_opengl_interop.c | 4 |
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 +} |
