mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-27 10:57:22 +08:00
win32: Set error for SDL_GL_GetSwapInterval()
This commit is contained in:
committed by
Ryan C. Gordon
parent
1dcc6e2135
commit
54de246b4b
@@ -910,7 +910,7 @@ bool WIN_GL_GetSwapInterval(SDL_VideoDevice *_this, int *interval)
|
|||||||
*interval = _this->gl_data->wglGetSwapIntervalEXT();
|
*interval = _this->gl_data->wglGetSwapIntervalEXT();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return SDL_Unsupported();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user