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 | |
| 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')
| -rw-r--r-- | raylib/config.h | 4 | ||||
| -rw-r--r-- | raylib/rcore.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/raylib/config.h b/raylib/config.h index c59e57d..2593b58 100644 --- a/raylib/config.h +++ b/raylib/config.h @@ -35,7 +35,7 @@ #define SUPPORT_MODULE_RSHAPES 1 #define SUPPORT_MODULE_RTEXTURES 1 #define SUPPORT_MODULE_RTEXT 1 // WARNING: It requires SUPPORT_MODULE_RTEXTURES to load sprite font textures -#define SUPPORT_MODULE_RMODELS 1 +//#define SUPPORT_MODULE_RMODELS 1 #define SUPPORT_MODULE_RAUDIO 1 //------------------------------------------------------------------------------------ @@ -221,7 +221,7 @@ //#define SUPPORT_FILEFORMAT_MP3 1 #define SUPPORT_FILEFORMAT_QOA 1 //#define SUPPORT_FILEFORMAT_FLAC 1 -#define SUPPORT_FILEFORMAT_XM 1 +//#define SUPPORT_FILEFORMAT_XM 1 //#define SUPPORT_FILEFORMAT_MOD 1 // raudio: Configuration values 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); |
