mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-23 07:39:18 -05:00
Fix opengl interop single header library not having it's implementation loaded (#5498)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user