diff options
| author | Ray <[email protected]> | 2019-03-12 16:00:26 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-03-12 16:00:26 +0100 |
| commit | 477ea4d6606aa4659549f786935096942f187b37 (patch) | |
| tree | bb0a7d172ea25eeec0fd492b4bd5b3804e6ea4ac /src/rlgl.h | |
| parent | 76e968f6b7b211ed056f5ffe97d13086f58a661a (diff) | |
| download | raylib-477ea4d6606aa4659549f786935096942f187b37.tar.gz raylib-477ea4d6606aa4659549f786935096942f187b37.zip | |
Support external config flags
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -563,7 +563,10 @@ int GetPixelDataSize(int width, int height, int format);// Get pixel data size i #define SUPPORT_VR_SIMULATOR #define SUPPORT_DISTORTION_SHADER #else - #include "config.h" // rlgl module configuration + // Check if config flags have been externally provided on compilation line + #if !defined(EXTERNAL_CONFIG_FLAGS) + #include "config.h" // Defines module configuration flags + #endif #endif #include <stdio.h> // Required for: fopen(), fclose(), fread()... [Used only on LoadText()] |
