src/video/android/SDL_androidwindow.c
changeset 12497 9e13f3286831
parent 12496 93771c30420b
child 12498 c2e223dc5da9
     1.1 --- a/src/video/android/SDL_androidwindow.c	Thu Jan 03 14:18:06 2019 +0100
     1.2 +++ b/src/video/android/SDL_androidwindow.c	Thu Jan 03 16:22:33 2019 +0100
     1.3 @@ -92,7 +92,7 @@
     1.4          if (data->egl_surface == EGL_NO_SURFACE) {
     1.5              ANativeWindow_release(data->native_window);
     1.6              SDL_free(data);
     1.7 -            retval = SDL_SetError("Could not create GLES window surface");
     1.8 +            retval = -1;
     1.9              goto endfunction;
    1.10          }
    1.11      }