mirror of https://github.com/bjornbytes/lovr.git
Why are you here;
This commit is contained in:
parent
485f65b013
commit
897a09c4d7
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue