diff options
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); |
