summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-20 18:36:25 +0100
committerRay <[email protected]>2021-03-20 18:36:25 +0100
commita76fcaba3ea8092be4b5ee26f6e97948b20129aa (patch)
tree6c1b28e0b24e1ea71af41f813a97424f112218d1 /src/config.h
parent4fba09794fffd1bf0b2b678353ba746388ace619 (diff)
downloadraylib-a76fcaba3ea8092be4b5ee26f6e97948b20129aa.tar.gz
raylib-a76fcaba3ea8092be4b5ee26f6e97948b20129aa.zip
BIG CHANGE: REDESIGNED: Vr device simulator #1582
Vr simulator has been moved to core module and completely redesigned. Now user is in charge of stereo-render fbo and also in full control of distortion shader. Code is a bit more complex but better aligned with other raylib examples.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/config.h b/src/config.h
index 9513b849..c2997854 100644
--- a/src/config.h
+++ b/src/config.h
@@ -57,6 +57,8 @@
#define SUPPORT_COMPRESSION_API 1
// Support saving binary data automatically to a generated storage.data file. This file is managed internally.
#define SUPPORT_DATA_STORAGE 1
+// Support VR simulation functionality (stereo rendering)
+#define SUPPORT_VR_SIMULATOR 1
// core: Configuration values
//------------------------------------------------------------------------------------
@@ -78,12 +80,7 @@
//------------------------------------------------------------------------------------
-// Module: rlgl - Configuration Flags
-//------------------------------------------------------------------------------------
-// Support VR simulation functionality (stereo rendering)
-#define SUPPORT_VR_SIMULATOR 1
-
-// rlgl: Configuration values
+// Module: rlgl - Configuration values
//------------------------------------------------------------------------------------
#if defined(GRAPHICS_API_OPENGL_11) || defined(GRAPHICS_API_OPENGL_33)
#define DEFAULT_BATCH_BUFFER_ELEMENTS 8192 // Default internal render batch limits