Browse Source

Merge pull request #590 from pamarcos/fix_rlgl_standalone

Fix rlgl.h to be used as a standalone
Ray 7 năm trước cách đây
mục cha
commit
94b0c49f5d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/rlgl.h

+ 1 - 0
src/rlgl.h

@@ -66,6 +66,7 @@
 
 #if defined(RLGL_STANDALONE)
     #define RAYMATH_STANDALONE
+    #define RAYMATH_HEADER_ONLY
 #else
     #include "raylib.h"         // Required for: Model, Shader, Texture2D, TraceLog()
 #endif