diff --git a/2048.c b/2048.c index cb4b2bf..6e3f67e 100644 --- a/2048.c +++ b/2048.c @@ -201,10 +201,11 @@ void draw() { int main() { - windowSetInit(&init); - windowSetDraw(&draw); + windowSetTitle("2048"); windowSetSize(MAPSIZE*CELLSIZE, MAPSIZE*CELLSIZE); windowSetVariableFrameRate(); + windowSetInit(&init); + windowSetDraw(&draw); windowRun(); return 0; }