aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainMenu.c
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 17:42:07 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 17:42:07 +0000
commitba522d0b6e8172d2d9f0ee107fbb2d6499380847 (patch)
tree7727c315be6e02261bd3a55a6c25901f2d327963 /src/mainMenu.c
parentecb467030530f54dfcf530132c4cd7194dc0f484 (diff)
downloadPenguinYippies-ba522d0b6e8172d2d9f0ee107fbb2d6499380847.tar.gz
PenguinYippies-ba522d0b6e8172d2d9f0ee107fbb2d6499380847.tar.bz2
PenguinYippies-ba522d0b6e8172d2d9f0ee107fbb2d6499380847.zip
Working on resizing thingy
Diffstat (limited to 'src/mainMenu.c')
-rw-r--r--src/mainMenu.c4
1 files changed, 2 insertions, 2 deletions
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,