Android: prevent the error message from SDL_EGL_CreateSurface() to be masked.

This commit is contained in:
Sylvain Becker 2019-01-03 16:22:33 +01:00
parent cc8f1136b6
commit 23478642bd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}