Skip to content

Commit 7fe20af

Browse files
authored
Merge pull request #67 from KenthJohan/master
Added main arg params in demo/sdl_opengl* (fixes compilation error)
2 parents e4d90b7 + 81e408a commit 7fe20af

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

demo/sdl_opengl2/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
*
6868
* ===============================================================*/
6969
int
70-
main(void)
70+
main(int argc, char *argv[])
7171
{
7272
/* Platform */
7373
SDL_Window *win;

demo/sdl_opengl3/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* DEMO
7171
*
7272
* ===============================================================*/
73-
int main(void)
73+
int main(int argc, char *argv[])
7474
{
7575
/* Platform */
7676
SDL_Window *win;

0 commit comments

Comments
 (0)