Cleaned up some compiler warnings.
This commit is contained in:
parent
418389348e
commit
0bdc0eedb8
5 changed files with 9 additions and 11 deletions
|
@ -227,7 +227,7 @@ Emscripten_CreateWindow(_THIS, SDL_Window * window)
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
wdata->egl_surface = SDL_EGL_CreateSurface(_this, NULL);
|
||||
wdata->egl_surface = SDL_EGL_CreateSurface(_this, 0);
|
||||
|
||||
if (wdata->egl_surface == EGL_NO_SURFACE) {
|
||||
return SDL_SetError("Could not create GLES window surface");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue