Why are you here;
@@ -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));
