From 55e7d1aad13a1329d257ac948509a3a0ed2c20a9 Mon Sep 17 00:00:00 2001 From: Peter0x44 Date: Thu, 30 Nov 2023 21:43:02 +0000 Subject: [PATCH] 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 --- src/rlgl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rlgl.h b/src/rlgl.h index 21aea6a05..4b3184986 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -777,6 +777,7 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad // Expose OpenGL functions from glad in raylib #if defined(BUILD_LIBTYPE_SHARED) + #define GLAD_API_CALL_EXPORT #define GLAD_API_CALL_EXPORT_BUILD #endif