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