src/video/SDL_egl.c
changeset 10169 e8062c7fa8b8
parent 9998 f67cf37e9cd4
child 10461 520440de7a17
     1.1 --- a/src/video/SDL_egl.c	Wed May 11 21:09:45 2016 +0200
     1.2 +++ b/src/video/SDL_egl.c	Wed May 11 21:10:41 2016 +0200
     1.3 @@ -558,7 +558,8 @@
     1.4  SDL_EGL_GetSwapInterval(_THIS)
     1.5  {
     1.6      if (!_this->egl_data) {
     1.7 -        return SDL_SetError("EGL not initialized");
     1.8 +        SDL_SetError("EGL not initialized");
     1.9 +        return 0;
    1.10      }
    1.11      
    1.12      return _this->egl_data->egl_swapinterval;