mirror of https://github.com/libsdl-org/SDL
Android: prevent the error message from SDL_EGL_CreateSurface() to be masked.
This commit is contained in:
parent
cc8f1136b6
commit
23478642bd
|
@ -92,7 +92,7 @@ Android_CreateWindow(_THIS, SDL_Window * window)
|
|||
if (data->egl_surface == EGL_NO_SURFACE) {
|
||||
ANativeWindow_release(data->native_window);
|
||||
SDL_free(data);
|
||||
retval = SDL_SetError("Could not create GLES window surface");
|
||||
retval = -1;
|
||||
goto endfunction;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue