diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,12 +8,14 @@ static const int speed = 4; -int main(int argc, const char **argv) { +int main(int argc, char **argv) { int x = 0; int y = 0; - if (LZY_Init(argc, argv, "lzy example", 30, "res/tset.png", - "res/font.png")) { + (void)argc; + (void)argv; + + if (LZY_Init("lzy example", 30, "res/tset.png", "res/font.png")) { LZY_Log("LZY_Init failed: %s", LZY_GetError()); LZY_Quit(); return 1; |