mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Cleanup
This commit is contained in:
parent
e82e2b7570
commit
1ea66b9033
|
@ -69,8 +69,7 @@ static void centerCursor(_GLFWwindow *window)
|
|||
//
|
||||
static float transformY(float y)
|
||||
{
|
||||
const float height = CGDisplayBounds(CGMainDisplayID()).size.height;
|
||||
return height - y;
|
||||
return CGDisplayBounds(CGMainDisplayID()).size.height - y;
|
||||
}
|
||||
|
||||
// Enter full screen mode
|
||||
|
|
Loading…
Reference in New Issue
Block a user