From 1ef818b0325dafd2d7028a663b9b90d6d6529c44 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 20 Oct 2017 13:59:08 +0200 Subject: [PATCH] Update example --- examples/core/core_vr_simulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c index 69e0f849..d919c410 100644 --- a/examples/core/core_vr_simulator.c +++ b/examples/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;