summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorRay <[email protected]>2017-05-08 02:47:44 +0200
committerRay <[email protected]>2017-05-08 02:47:44 +0200
commit822c2ddad59e9839aeb029f5a3dc26681188612b (patch)
treed5a0bdd33a30bd1bf4c9a9f8a1a80f98f5d34b7d /src/rlgl.h
parent83aba22e494ffbc78cb9cda6a8e39e82963026f4 (diff)
downloadraylib-822c2ddad59e9839aeb029f5a3dc26681188612b.tar.gz
raylib-822c2ddad59e9839aeb029f5a3dc26681188612b.zip
Some defines tweaks for consistency
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