This commit is contained in:
Camilla Berglund 2015-12-07 21:17:03 +01:00
parent e82e2b7570
commit 1ea66b9033

View File

@ -69,8 +69,7 @@ static void centerCursor(_GLFWwindow *window)
// //
static float transformY(float y) static float transformY(float y)
{ {
const float height = CGDisplayBounds(CGMainDisplayID()).size.height; return CGDisplayBounds(CGMainDisplayID()).size.height - y;
return height - y;
} }
// Enter full screen mode // Enter full screen mode