diff options
| author | Ray <[email protected]> | 2017-10-20 13:59:08 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-10-20 13:59:08 +0200 |
| commit | 1ef818b0325dafd2d7028a663b9b90d6d6529c44 (patch) | |
| tree | 2d902f25935f791d964f073fcdd938834874e51f /examples/core | |
| parent | 1375a616b25c3ffad1cc73581b8acbdc30ef79b4 (diff) | |
| download | raylib-1ef818b0325dafd2d7028a663b9b90d6d6529c44.tar.gz raylib-1ef818b0325dafd2d7028a663b9b90d6d6529c44.zip | |
Update example
Diffstat (limited to 'examples/core')
| -rw-r--r-- | examples/core/core_vr_simulator.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
