diff options
author | June McEnroe <june@causal.agency> | 2022-01-19 20:51:03 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-19 20:51:03 -0500 |
commit | 74276efb806fb548dc2dff23b3c6526160172b04 (patch) | |
tree | 160bcae5d9825eaec751c0fb920b220710598120 /cards/example.c | |
parent | Replace build system with cmake (diff) | |
parent | Replace build system with cmake (diff) | |
download | wep-74276efb806fb548dc2dff23b3c6526160172b04.tar.gz wep-74276efb806fb548dc2dff23b3c6526160172b04.zip |
Merge commit '344497630ac9ef2d46287cd574472ce369694076'
Diffstat (limited to '')
-rw-r--r-- | cards/example.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cards/example.c b/cards/example.c index 8790d65..859adc1 100644 --- a/cards/example.c +++ b/cards/example.c @@ -39,7 +39,10 @@ enum { WindowHeight = MarginY + 4 * DeltaY, }; -int main(void) { +int main(int argc, char *argv[]) { + (void)argc; + (void)argv; + if (SDL_Init(SDL_INIT_VIDEO) < 0) err("SDL_Init"); struct SDL_RWops *rw = SDL_RWFromFile("CARDS.DLL", "rb"); |