Some tweaks around

This commit is contained in:
raysan5 2016-11-17 12:55:30 +01:00
commit bee283b12b

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)