src/video/emscripten/SDL_emscriptenvideo.c
changeset 9300 0293f45e4814
parent 9294 1865bd71ef12
child 9619 b94b6d0bff0f
     1.1 --- a/src/video/emscripten/SDL_emscriptenvideo.c	Fri Dec 26 22:30:19 2014 -0500
     1.2 +++ b/src/video/emscripten/SDL_emscriptenvideo.c	Fri Dec 26 23:16:54 2014 -0500
     1.3 @@ -227,7 +227,7 @@
     1.4                  return -1;
     1.5              }
     1.6          }
     1.7 -        wdata->egl_surface = SDL_EGL_CreateSurface(_this, NULL);
     1.8 +        wdata->egl_surface = SDL_EGL_CreateSurface(_this, 0);
     1.9  
    1.10          if (wdata->egl_surface == EGL_NO_SURFACE) {
    1.11              return SDL_SetError("Could not create GLES window surface");