Pārlūkot izejas kodu

Adjusting message when calling requestVRFullscreen (deprecated).

Raanan Weber 9 gadi atpakaļ
vecāks
revīzija
078cd341e2
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/Cameras/VR/babylon.webVRCamera.ts

+ 2 - 2
src/Cameras/VR/babylon.webVRCamera.ts

@@ -107,8 +107,8 @@ module BABYLON {
 
         public requestVRFullscreen(requestPointerlock: boolean) {
             //Backwards comp.
-            Tools.Warn("requestVRFullscreen is deprecated. Use engine.switchFullscreen() instead")
-            this.getEngine().switchFullscreen(requestPointerlock);
+            Tools.Warn("requestVRFullscreen is deprecated. call attachControl() to start sending frames to the VR display.")
+            //this.getEngine().switchFullscreen(requestPointerlock);
         }
 
         public getTypeName(): string {