Browse Source

Merge pull request #67 from KenthJohan/master

Added main arg params in demo/sdl_opengl* (fixes compilation error)
dumblob 5 years ago
parent
commit
7fe20af760
2 changed files with 2 additions and 2 deletions
  1. 1 1
      demo/sdl_opengl2/main.c
  2. 1 1
      demo/sdl_opengl3/main.c

+ 1 - 1
demo/sdl_opengl2/main.c

@@ -67,7 +67,7 @@
  *
  * ===============================================================*/
 int
-main(void)
+main(int argc, char *argv[])
 {
     /* Platform */
     SDL_Window *win;

+ 1 - 1
demo/sdl_opengl3/main.c

@@ -70,7 +70,7 @@
  *                          DEMO
  *
  * ===============================================================*/
-int main(void)
+int main(int argc, char *argv[])
 {
     /* Platform */
     SDL_Window *win;