diff options
| author | victorfisac <victorfisac@gmail.com> | 2016-01-20 19:26:52 +0100 |
|---|---|---|
| committer | victorfisac <victorfisac@gmail.com> | 2016-01-20 19:26:52 +0100 |
| commit | 8ae0da1fa1a9d462f95ee7cf02b0fc336c4a77df (patch) | |
| tree | 751d2c7303dc92780b027b122f26b09a4930e88b /src/rlgl.h | |
| parent | 25f5995be0f52c756052a9fff276bd11e95fc895 (diff) | |
| parent | cf6c6fefd76135df0247339c9adc2712da6c2691 (diff) | |
| download | raylib-8ae0da1fa1a9d462f95ee7cf02b0fc336c4a77df.tar.gz raylib-8ae0da1fa1a9d462f95ee7cf02b0fc336c4a77df.zip | |
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -37,11 +37,12 @@ #endif #if defined(RLGL_STANDALONE) - #define RAYMATH_STANDALONE + #define RAYMATH_IMPLEMENTATION // Use raymath as a header-only library (includes implementation) + #define RAYMATH_EXTERN_INLINE // Compile raymath functions as static inline (remember, it's a compiler hint) + #define RAYMATH_STANDALONE // Not dependent on raylib.h structs: Vector3, Matrix + #include "raymath.h" // Required for Vector3 and Matrix functions #endif -#include "raymath.h" // Required for data type Matrix and Matrix functions - // Select desired OpenGL version // NOTE: Those preprocessor defines are only used on rlgl module, // if OpenGL version is required by any other module, it uses rlGetVersion() @@ -92,7 +93,7 @@ typedef enum { RL_LINES, RL_TRIANGLES, RL_QUADS } DrawMode; typedef enum { OPENGL_11 = 1, OPENGL_33, OPENGL_ES_20 } GlVersion; -#ifdef RLGL_STANDALONE +#if defined(RLGL_STANDALONE) #ifndef __cplusplus // Boolean type typedef enum { false, true } bool; |
