Przeglądaj źródła

Merge branch 'master' of cane:bkaradzic/bgfx into dev

Branimir Karadžić 9 lat temu
rodzic
commit
c2de2f44f2
1 zmienionych plików z 8 dodań i 8 usunięć
  1. 8 8
      src/hmd_openvr.cpp

+ 8 - 8
src/hmd_openvr.cpp

@@ -60,14 +60,14 @@ namespace bgfx
 			VR_GetVRInitErrorAsEnglishDescription = (PFN_VR_GETVRINITERRORASENGLISHDESCRIPTION)bx::dlsym(openvrdll, "VR_GetVRInitErrorAsEnglishDescription");
 			VR_GetVRInitErrorAsEnglishDescription = (PFN_VR_GETVRINITERRORASENGLISHDESCRIPTION)bx::dlsym(openvrdll, "VR_GetVRInitErrorAsEnglishDescription");
 
 
 			if (NULL == VR_InitInternal
 			if (NULL == VR_InitInternal
-			&&  NULL == VR_ShutdownInternal
-			&&  NULL == VR_IsHmdPresent
-			&&  NULL == VR_GetGenericInterface
-			&&  NULL == VR_IsRuntimeInstalled
-			&&  NULL == VR_IsInterfaceVersionValid
-			&&  NULL == VR_GetInitToken
-			&&  NULL == VR_GetVRInitErrorAsSymbol
-			&&  NULL == VR_GetVRInitErrorAsEnglishDescription)
+			||  NULL == VR_ShutdownInternal
+			||  NULL == VR_IsHmdPresent
+			||  NULL == VR_GetGenericInterface
+			||  NULL == VR_IsRuntimeInstalled
+			||  NULL == VR_IsInterfaceVersionValid
+			||  NULL == VR_GetInitToken
+			||  NULL == VR_GetVRInitErrorAsSymbol
+			||  NULL == VR_GetVRInitErrorAsEnglishDescription)
 			{
 			{
 				bx::dlclose(openvrdll);
 				bx::dlclose(openvrdll);
 				return NULL;
 				return NULL;