diff --git a/src/headset/webvr.c b/src/headset/webvr.c index 8473cd81..cd96fef8 100644 --- a/src/headset/webvr.c +++ b/src/headset/webvr.c @@ -88,9 +88,6 @@ static void onMountChanged(bool mounted) { } static void onFrame(float* leftView, float* rightView, float* leftProjection, float* rightProjection, void* userdata) { - int width, height; - webvrGetDisplayDimensions(&width, &height); - Camera camera = { .canvas = NULL, .stereo = true }; memcpy(camera.projection[0], leftProjection, 16 * sizeof(float)); memcpy(camera.projection[1], rightProjection, 16 * sizeof(float));