src/video/SDL_egl.c
changeset 10169 e8062c7fa8b8
parent 9998 f67cf37e9cd4
child 10461 520440de7a17
equal deleted inserted replaced
10168:9e3144cb1032 10169:e8062c7fa8b8
   556 
   556 
   557 int
   557 int
   558 SDL_EGL_GetSwapInterval(_THIS)
   558 SDL_EGL_GetSwapInterval(_THIS)
   559 {
   559 {
   560     if (!_this->egl_data) {
   560     if (!_this->egl_data) {
   561         return SDL_SetError("EGL not initialized");
   561         SDL_SetError("EGL not initialized");
       
   562         return 0;
   562     }
   563     }
   563     
   564     
   564     return _this->egl_data->egl_swapinterval;
   565     return _this->egl_data->egl_swapinterval;
   565 }
   566 }
   566 
   567