summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 28dc5171..b567f8fd 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -2786,13 +2786,13 @@ void CloseVrDevice(void)
// Detect if VR device is available
bool IsVrDeviceReady(void)
{
- return (vrDeviceReady || vrSimulator) && vrEnabled;
+ return (vrDeviceReady && vrEnabled);
}
// Detect if VR simulator is running
bool IsVrSimulator(void)
{
- return vrSimulator;
+ return (vrSimulator && vrEnabled);
}
// Enable/Disable VR experience (device or simulator)