mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Cleanup
This commit is contained in:
+1
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user