pico: start each eye from origin

This commit is contained in:
Nevyn Bengtsson 2020-10-16 09:29:29 +02:00
parent 85cc82d8cb
commit 0b9f4d30fd
1 changed files with 3 additions and 0 deletions

View File

@ -575,6 +575,9 @@ JNIEXPORT void JNICALL Java_org_lovr_app_Activity_lovrPicoDrawEye(JNIEnv* jni, j
arr_push(&state.canvases, ((NativeCanvas) { .id = framebuffer, .instance = canvas }));
}
// start each eye from origin
lovrGraphicsOrigin();
for (uint32_t i = 0; i < 2; i++) {
float view[16];
mat4_identity(view);