diff --git a/src/Client/SceneManager.cpp b/src/Client/SceneManager.cpp index 82fb9518..29d544b7 100644 --- a/src/Client/SceneManager.cpp +++ b/src/Client/SceneManager.cpp @@ -26,7 +26,7 @@ namespace Scene { static void initRaylib() { Raylib::initWindow(screenWidth, screenHeight, "R-Bus"); - Raylib::setWindowState(Raylib::ConfigFlags::WINDOW_RESIZABLE); + Raylib::setWindowState(Raylib::ConfigFlags::FULLSCREEN_MODE); Raylib::setTargetFPS(Raylib::getMonitorRefreshRate(Raylib::getCurrentMonitor())); Raylib::initAudioDevice(); } diff --git a/src/Client/Systems/Graphic/SpriteSystems.cpp b/src/Client/Systems/Graphic/SpriteSystems.cpp index 82a31a65..3177c840 100644 --- a/src/Client/Systems/Graphic/SpriteSystems.cpp +++ b/src/Client/Systems/Graphic/SpriteSystems.cpp @@ -122,7 +122,7 @@ namespace Systems { Raylib::Vector2 size = calculateSize(sprite); sprite.drawPro( - Raylib::Rectangle(0, 0, sprite.getTextureWidth(), sprite.getTextureHeight()), + Raylib::Rectangle(0.F, 0.F, sprite.getTextureWidth(), sprite.getTextureHeight()), Raylib::Rectangle(spritePos.x, spritePos.y, size.x, size.y), origin, rotation,