Преглед изворни кода

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

pull/3574/head
Peter0x44 пре 1 година
committed by GitHub
родитељ
комит
94aba23ef4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 5 додато и 0 уклоњено
  1. +5
    -0
      src/rlgl.h

+ 5
- 0
src/rlgl.h Прегледај датотеку

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

Loading…
Откажи
Сачувај