From 7447deed40f1deabee659155a30b2d6aa454dafd Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 20 Oct 2017 14:09:09 +0200 Subject: Updated examples for web --- examples/src/core/core_vr_simulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/src/core') 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; -- cgit v1.2.3