소스 검색

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
Peter0x44 1 년 전
부모
커밋
55e7d1aad1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/rlgl.h

+ 1 - 0
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