Some tweaks around

This commit is contained in:
raysan5
2016-11-17 12:55:30 +01:00
parent e23e73d9b2
commit bee283b12b
6 changed files with 25 additions and 19 deletions

View File

@@ -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)