mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 19:43:49 +00:00
vsync update on reset settings
This commit is contained in:
parent
b444cabe4d
commit
005f322a94
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ GFXGLWindowTarget::GFXGLWindowTarget(PlatformWindow *win, GFXDevice *d)
|
|||
|
||||
void GFXGLWindowTarget::resetMode()
|
||||
{
|
||||
PlatformGL::setVSync(GFXDevice::smDisableVSync ? 0 : 2);
|
||||
|
||||
if(mWindow->getVideoMode().fullScreen != mWindow->isFullscreen())
|
||||
{
|
||||
_teardownCurrentMode();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue