From 103044926bc904a11c145f1d12cf22001a2c085b Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 16 Jul 2018 19:24:40 +0200 Subject: [PATCH] Avoid config.h in standalone mode --- src/rlgl.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/rlgl.h b/src/rlgl.h index 354d28c1..927dbc85 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -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 // Required for: fopen(), fclose(), fread()... [Used only on LoadText()] #include // Required for: malloc(), free(), rand()