浏览代码

Merge pull request #67 from KenthJohan/master

Added main arg params in demo/sdl_opengl* (fixes compilation error)
dumblob 5 年之前
父节点
当前提交
7fe20af760
共有 2 个文件被更改,包括 2 次插入2 次删除
  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;