mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:07:58 +02:00
Typos etc.
This commit is contained in:
parent
24352a7189
commit
c2bb26e519
2 changed files with 2 additions and 2 deletions
|
@ -739,7 +739,7 @@ int OpenVrDisplayPlugin::getRequiredThreadCount() const {
|
||||||
|
|
||||||
QString OpenVrDisplayPlugin::getPreferredAudioInDevice() const {
|
QString OpenVrDisplayPlugin::getPreferredAudioInDevice() const {
|
||||||
QString device = getVrSettingString(vr::k_pch_audio_Section, vr::k_pch_audio_RecordingDeviceOverride_String);
|
QString device = getVrSettingString(vr::k_pch_audio_Section, vr::k_pch_audio_RecordingDeviceOverride_String);
|
||||||
// FIXME: Address Linux.
|
// FIXME: Address Linux.
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
if (!device.isEmpty()) {
|
if (!device.isEmpty()) {
|
||||||
static const WCHAR INIT = 0;
|
static const WCHAR INIT = 0;
|
||||||
|
|
|
@ -49,7 +49,7 @@ static const uint32_t RELEASE_OPENVR_HMD_DELAY_MS = 5000;
|
||||||
|
|
||||||
bool isOculusPresent() {
|
bool isOculusPresent() {
|
||||||
bool result = false;
|
bool result = false;
|
||||||
#if defined(Q_OS_WIN32)
|
#ifdef Q_OS_WIN
|
||||||
HANDLE oculusServiceEvent = ::OpenEventW(SYNCHRONIZE, FALSE, L"OculusHMDConnected");
|
HANDLE oculusServiceEvent = ::OpenEventW(SYNCHRONIZE, FALSE, L"OculusHMDConnected");
|
||||||
// The existence of the service indicates a running Oculus runtime
|
// The existence of the service indicates a running Oculus runtime
|
||||||
if (oculusServiceEvent) {
|
if (oculusServiceEvent) {
|
||||||
|
|
Loading…
Reference in a new issue