mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
reset main function to include parameters
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@@ -67,7 +68,7 @@ void stop(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// entry point of the application
|
// entry point of the application
|
||||||
int main(void) {
|
int32_t main(int32_t argc, char** argv) {
|
||||||
init();
|
init();
|
||||||
|
|
||||||
while (playing)
|
while (playing)
|
||||||
|
|||||||
Reference in New Issue
Block a user