window in 720

This commit is contained in:
arthur.jamet
2021-06-17 12:03:39 +02:00
parent e3b6b87b11
commit 9c1f0b1bcd
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ namespace BBM
void Runner::enableRaylib(WAL::Wal &wal)
{
RAY::TraceLog::setLevel(LOG_WARNING);
RAY::Window &window = RAY::Window::getInstance(1920, 1080, "Bomberman", FLAG_WINDOW_RESIZABLE);
RAY::Window &window = RAY::Window::getInstance(1280, 720, "Bomberman", FLAG_WINDOW_RESIZABLE);
wal.addSystem<AnimationsSystem>()
.addSystem<AnimatorSystem>()
.addSystem<RenderSystem>(window);
@@ -60,8 +60,6 @@ namespace BBM
Vector2f buttonPos(positionComponent.getX(), positionComponent.getY());
Vector2f dimensions;
WAL::Entity *newButton = nullptr;
if (texture) {
dimensions.x = texture->getDimensions().x;
dimensions.y = texture->getDimensions().y;