Fix opengl interop single header library not having it's implementation loaded (#5498)

This commit is contained in:
jscaff
2026-01-15 17:30:13 -05:00
committed by GitHub
parent 439448ad7c
commit 10b94b02ad

View File

@ -30,6 +30,7 @@
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_DESKTOP_SDL)
#if defined(GRAPHICS_API_OPENGL_ES2)
#define GLAD_GLES2_IMPLEMENTATION
#include "glad_gles2.h" // Required for: OpenGL functionality
#define glGenVertexArrays glGenVertexArraysOES
#define glBindVertexArray glBindVertexArrayOES