summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 300949f9..b51d1c49 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -59,12 +59,10 @@
#ifndef RLGL_H
#define RLGL_H
-#ifndef RLGL_STANDALONE
- #include "raylib.h" // Required for: Model, Shader, Texture2D, TraceLog()
-#endif
-
-#ifdef RLGL_STANDALONE
+#if defined(RLGL_STANDALONE)
#define RAYMATH_STANDALONE
+#else
+ #include "raylib.h" // Required for: Model, Shader, Texture2D, TraceLog()
#endif
#include "raymath.h" // Required for: Vector3, Matrix