simulator: Fix getDisplayDimensions;

getDisplayDimensions is supposed to return the dimensions of one eye.
This commit is contained in:
bjorn 2021-02-19 08:29:05 -07:00
parent 36170678f0
commit 6c74a61ae3
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ static double desktop_getDisplayTime(void) {
static void desktop_getDisplayDimensions(uint32_t* width, uint32_t* height) {
int w, h;
lovrPlatformGetFramebufferSize(&w, &h);
*width = (uint32_t) w;
*width = (uint32_t) w / 2;
*height = (uint32_t) h;
}