mirror of https://github.com/bjornbytes/lovr.git
simulator: Fix getDisplayDimensions;
getDisplayDimensions is supposed to return the dimensions of one eye.
This commit is contained in:
parent
36170678f0
commit
6c74a61ae3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue