aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-03-20 13:39:27 +0100
committerraysan5 <raysan5@gmail.com>2016-03-20 13:39:27 +0100
commit5e45c3c824b61abd94525c1dcd08abc5a10dc613 (patch)
tree236fc7990d36b7160aed35fd4989172aead3ad3b /src/rlgl.h
parente2ba22ec596757d62f8b22cf8b722d68040f23d3 (diff)
downloadraylib-5e45c3c824b61abd94525c1dcd08abc5a10dc613.tar.gz
raylib-5e45c3c824b61abd94525c1dcd08abc5a10dc613.zip
Redesign to work as standalone
Redesigned to work as standalone and support fordward-compatible context (shaders review)
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 7d50b67a..1a5260eb 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -36,7 +36,11 @@
#include "utils.h" // Required for function TraceLog()
#endif
-#include "raymath.h"
+#ifdef RLGL_STANDALONE
+ #define RAYMATH_STANDALONE
+#endif
+
+#include "raymath.h" // Required for types: Vector3, Matrix
// Select desired OpenGL version
// NOTE: Those preprocessor defines are only used on rlgl module,