Expose OpenGL take 2 (#3588)

For some reason, there are actually two macros needed to control this.
Yes, I tried with only one, both are needed
This commit is contained in:
Peter0x44 2023-11-30 21:43:02 +00:00 committed by GitHub
parent ef5069862d
commit 55e7d1aad1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -777,6 +777,7 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad
// Expose OpenGL functions from glad in raylib // Expose OpenGL functions from glad in raylib
#if defined(BUILD_LIBTYPE_SHARED) #if defined(BUILD_LIBTYPE_SHARED)
#define GLAD_API_CALL_EXPORT
#define GLAD_API_CALL_EXPORT_BUILD #define GLAD_API_CALL_EXPORT_BUILD
#endif #endif