src/video/windows/SDL_windowsopengles.c
changeset 10800 f3439b0eb486
parent 10737 3406a0f8b041
child 11175 cbc6a8a5b701
equal deleted inserted replaced
10799:234f71894a52 10800:f3439b0eb486
   124     }
   124     }
   125 
   125 
   126     return WIN_GLES_MakeCurrent(_this, current_win, current_ctx);    
   126     return WIN_GLES_MakeCurrent(_this, current_win, current_ctx);    
   127 }
   127 }
   128 
   128 
   129 int
       
   130 WIN_GLES_SetSwapInterval(_THIS, int interval)
       
   131 {
       
   132     /* FIXME: This should call SDL_EGL_SetSwapInterval, but ANGLE has a bug that prevents this
       
   133      * from working if we do (the window contents freeze and don't swap properly). So, we ignore
       
   134      * the request for now.
       
   135      */
       
   136     SDL_Log("WARNING: Ignoring SDL_GL_SetSwapInterval call due to ANGLE bug");
       
   137     return 0;
       
   138 }
       
   139 
       
   140 #endif /* SDL_VIDEO_DRIVER_WINDOWS && SDL_VIDEO_OPENGL_EGL */
   129 #endif /* SDL_VIDEO_DRIVER_WINDOWS && SDL_VIDEO_OPENGL_EGL */
   141 
   130 
   142 /* vi: set ts=4 sw=4 expandtab: */
   131 /* vi: set ts=4 sw=4 expandtab: */