Explorar el Código

Expose glad functions when building raylib as a shared lib (#3572)

pull/3574/head
Peter0x44 hace 1 año
cometido por GitHub
padre
commit
94aba23ef4
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      src/rlgl.h

+ 5
- 0
src/rlgl.h Ver fichero

@ -773,6 +773,11 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad
#if defined(RLGL_IMPLEMENTATION)
// Expose OpenGL functions from glad in raylib
#if defined(BUILD_SHARED_LIBS)
#define GLAD_API_CALL_EXPORT_BUILD
#endif
#if defined(GRAPHICS_API_OPENGL_11)
#if defined(__APPLE__)
#include <OpenGL/gl.h> // OpenGL 1.1 library for OSX

Cargando…
Cancelar
Guardar