Skip to content

Commit

Permalink
Android: prevent the error message from SDL_EGL_CreateSurface() to be…
Browse files Browse the repository at this point in the history
… masked.
  • Loading branch information
1bsyl committed Jan 3, 2019
1 parent cc8f113 commit 2347864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/android/SDL_androidwindow.c
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 2347864

Please sign in to comment.