Pārlūkot izejas kodu

Fix opengl interop single header library not having it's implementation loaded

pull/5498/head
jscaff pirms 2 nedēļām
vecāks
revīzija
2073b0f2e4
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      examples/others/raylib_opengl_interop.c

+ 1
- 0
examples/others/raylib_opengl_interop.c Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt