mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
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
Block a user