Cleaned up some compiler warnings.

This commit is contained in:
Ryan C. Gordon 2014-12-26 23:16:54 -05:00
parent 418389348e
commit 0bdc0eedb8
5 changed files with 9 additions and 11 deletions

View file

@ -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");