summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2018-07-16 19:24:40 +0200
committerRay <[email protected]>2018-07-16 19:24:40 +0200
commit103044926bc904a11c145f1d12cf22001a2c085b (patch)
tree26c3d5f1546e533aa1183c523a6267b6ef2eaf5c
parent6efb89c51e801ba079690b8a5b49fa0ca86afb28 (diff)
downloadraylib-103044926bc904a11c145f1d12cf22001a2c085b.tar.gz
raylib-103044926bc904a11c145f1d12cf22001a2c085b.zip
Avoid config.h in standalone mode
-rw-r--r--src/rlgl.h7
1 files changed, 6 insertions, 1 deletions
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 <stdio.h> // Required for: fopen(), fclose(), fread()... [Used only on LoadText()]
#include <stdlib.h> // Required for: malloc(), free(), rand()