Some tweaks around
This commit is contained in:
parent
e23e73d9b2
commit
bee283b12b
1 changed files with 25 additions and 19 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue