diff options
| author | Ray <[email protected]> | 2018-07-16 19:24:40 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-07-16 19:24:40 +0200 |
| commit | 103044926bc904a11c145f1d12cf22001a2c085b (patch) | |
| tree | 26c3d5f1546e533aa1183c523a6267b6ef2eaf5c | |
| parent | 6efb89c51e801ba079690b8a5b49fa0ca86afb28 (diff) | |
| download | raylib-103044926bc904a11c145f1d12cf22001a2c085b.tar.gz raylib-103044926bc904a11c145f1d12cf22001a2c085b.zip | |
Avoid config.h in standalone mode
| -rw-r--r-- | src/rlgl.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -520,7 +520,12 @@ int GetPixelDataSize(int width, int height, int format);// Get pixel data size i #if defined(RLGL_IMPLEMENTATION) -#include "config.h" +#if defined(RLGL_STANDALONE) + #define SUPPORT_VR_SIMULATOR + #define SUPPORT_DISTORTION_SHADER +#else + #include "config.h" // rlgl module configuration +#endif #include <stdio.h> // Required for: fopen(), fclose(), fread()... [Used only on LoadText()] #include <stdlib.h> // Required for: malloc(), free(), rand() |
