Parcourir la source

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

pull/5502/head
jscaff il y a 3 semaines
committed by GitHub
Parent
révision
10b94b02ad
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      examples/others/raylib_opengl_interop.c

+ 1
- 0
examples/others/raylib_opengl_interop.c Voir le fichier

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

Chargement…
Annuler
Enregistrer