diff options
| author | Uneven Prankster <unevenprankster@protonmail.com> | 2023-08-12 12:59:59 -0300 |
|---|---|---|
| committer | Uneven Prankster <unevenprankster@protonmail.com> | 2023-08-12 12:59:59 -0300 |
| commit | e7379bed59af0f50126af61953bc4f10af04a4dd (patch) | |
| tree | d99e98f0709821edccfa2ef1cbba9381a46abb22 /raylib/rcore.c | |
| parent | a2cb2ee59296e466bab94d9a96c331648ef212b0 (diff) | |
Few tweaks for proper compilation, config.h changes and removed tccdefs.h usage. Gunner's TCC fork is further functionally freestanding now.
Diffstat (limited to 'raylib/rcore.c')
| -rw-r--r-- | raylib/rcore.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/raylib/rcore.c b/raylib/rcore.c index d6e8128..d263869 100644 --- a/raylib/rcore.c +++ b/raylib/rcore.c @@ -1780,8 +1780,6 @@ void SetWindowMonitor(int monitor) if ((screenWidth >= monitorWorkareaWidth) || (screenHeight >= monitorWorkareaHeight)) glfwSetWindowPos(CORE.Window.handle, monitorWorkareaX, monitorWorkareaY); else { - const int x = monitorWorkareaX + (monitorWorkareaWidth*0.5f) - (screenWidth*0.5f); - const int y = monitorWorkareaY + (monitorWorkareaHeight*0.5f) - (screenHeight*0.5f); const int x = monitorWorkareaX + (monitorWorkareaWidth/2) - (screenWidth/2); const int y = monitorWorkareaY + (monitorWorkareaHeight/2) - (screenHeight/2); glfwSetWindowPos(CORE.Window.handle, x, y); |
