summaryrefslogtreecommitdiffhomepage
path: root/examples/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src')
-rw-r--r--examples/src/core/core_vr_simulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/src/core/core_vr_simulator.c b/examples/src/core/core_vr_simulator.c
index 69e0f84..d919c41 100644
--- a/examples/src/core/core_vr_simulator.c
+++ b/examples/src/core/core_vr_simulator.c
@@ -22,7 +22,8 @@ int main()
InitWindow(screenWidth, screenHeight, "raylib [core] example - vr simulator");
- InitVrSimulator(HMD_OCULUS_RIFT_CV1); // Init VR simulator (Oculus Rift CV1 parameters)
+ // Init VR simulator (Oculus Rift CV1 parameters)
+ InitVrSimulator(GetVrDeviceInfo(HMD_OCULUS_RIFT_CV1));
// Define the camera to look into our 3d world
Camera camera;