From ba522d0b6e8172d2d9f0ee107fbb2d6499380847 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Wed, 21 Feb 2024 10:42:07 -0700 Subject: Working on resizing thingy --- src/mainMenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainMenu.c') diff --git a/src/mainMenu.c b/src/mainMenu.c index f64c2be..4968ee7 100644 --- a/src/mainMenu.c +++ b/src/mainMenu.c @@ -14,8 +14,8 @@ void initMainMenu(MainMenu* mainMenu, Game* game) Texture* startButtonTexture = &mainMenu->startButtonAnimation.texture; - int width = GetScreenWidth(); - int height = GetScreenHeight(); + int width = WINDOW_WIDTH; + int height = WINDOW_HEIGHT; mainMenu->startButton = createTexturedButton( startButtonTexture, -- cgit v1.2.3