Fullscreen
This commit is contained in:
+2
-2
@@ -63,7 +63,7 @@ static void game_loop(void) {
|
||||
}
|
||||
|
||||
|
||||
int main(void) {
|
||||
int main(int argc, char ** argv) {
|
||||
TTF_Init();
|
||||
if(Mix_OpenAudio(22050, MIX_DEFAULT_FORMAT, 2, 4096) != 0){
|
||||
printf("Music sound could not be open!\n"
|
||||
@@ -75,7 +75,7 @@ int main(void) {
|
||||
timecode = clock();
|
||||
|
||||
Mix_Init(MIX_INIT_MP3);
|
||||
renderer_main(game_setup, game_loop);
|
||||
renderer_main(argc, argv, game_setup, game_loop);
|
||||
|
||||
Mix_CloseAudio();
|
||||
text_freeFontCache();
|
||||
|
||||
Reference in New Issue
Block a user