aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainMenu.c
diff options
context:
space:
mode:
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,