(cherry picked from commit 54de246b4b44610f7418495ee0485ddbc6e8cd20)
@@ -910,7 +910,7 @@ bool WIN_GL_GetSwapInterval(SDL_VideoDevice *_this, int *interval)
*interval = _this->gl_data->wglGetSwapIntervalEXT();
return true;
} else {
- return false;
+ return SDL_Unsupported();
}