mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 03:08:24 +00:00
Removing config.h.in file (#1546)
CMake relied on this file for configurations and also was interfering in the regular config.h by having a separate definition if building with CMake. This was not entirely correct so instead we will define compile time definitions separately through CMake (CompileDefinitions.cmake) and also will use the provided EXTERNAL_CONFIG_FLAGS that I found that will not use config.h in through the build process. I also introduced a new compiler option (CUSTOMIZE_BUILD) that when OFF will use the default config.h and when ON will show other options for redefining your own options. Fixed an error in rlgl.h where if you have both RLGL_STANDALONE and SUPPORT_VR_SIMULATOR you get a compile time error.
This commit is contained in:
@@ -840,7 +840,7 @@ typedef struct RenderBatch {
|
||||
float currentDepth; // Current depth value for next draw
|
||||
} RenderBatch;
|
||||
|
||||
#if defined(SUPPORT_VR_SIMULATOR)
|
||||
#if defined(SUPPORT_VR_SIMULATOR) && !defined(RLGL_STANDALONE)
|
||||
// VR Stereo rendering configuration for simulator
|
||||
typedef struct VrStereoConfig {
|
||||
Shader distortionShader; // VR stereo rendering distortion shader
|
||||
|
Reference in New Issue
Block a user