src/video/SDL_egl.c
changeset 10169 e8062c7fa8b8
parent 9998 f67cf37e9cd4
--- a/src/video/SDL_egl.c	Wed May 11 21:09:45 2016 +0200
+++ b/src/video/SDL_egl.c	Wed May 11 21:10:41 2016 +0200
@@ -558,7 +558,8 @@
 SDL_EGL_GetSwapInterval(_THIS)
 {
     if (!_this->egl_data) {
-        return SDL_SetError("EGL not initialized");
+        SDL_SetError("EGL not initialized");
+        return 0;
     }
     
     return _this->egl_data->egl_swapinterval;