summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorPeter0x44 <[email protected]>2023-11-30 21:43:02 +0000
committerGitHub <[email protected]>2023-11-30 22:43:02 +0100
commit55e7d1aad13a1329d257ac948509a3a0ed2c20a9 (patch)
tree4668af93606e67c1862c328151ede8c4d24b3903 /src
parentef5069862d737919d98718095b0696c3bc74bac8 (diff)
downloadraylib-55e7d1aad13a1329d257ac948509a3a0ed2c20a9.tar.gz
raylib-55e7d1aad13a1329d257ac948509a3a0ed2c20a9.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 21aea6a0..4b318498 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