diff options
author | KikooDX <kikoodx@paranoici.org> | 2022-04-12 17:02:17 +0200 |
---|---|---|
committer | KikooDX <kikoodx@paranoici.org> | 2022-04-12 17:10:56 +0200 |
commit | 605d6d09708a99c1c57cf4a0427d997614d288f8 (patch) | |
tree | d23b712307259d1f4950491bfc8e9045a82f77f2 /src/main.c | |
parent | bf1c9bd3d4625f85dedfa8a241e08bca54caeea4 (diff) | |
download | lzy-605d6d09708a99c1c57cf4a0427d997614d288f8.tar.gz |
use SDL_GetBasePath
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; |