Vertical synchronization

Hello,
I have difficult with vertical synchronization with animation of rotation texture.

// update
mContourRot += 0.4f * dDeltaTime;
fmod(mContourRot, 2.0 * M_PI);
mContourTexture.setRotation(mContourRot);
mContourTexture.treeUpdate();
// draw
mContourTexture.treeDraw();

I use node.cpp by Paul Houx.
I use cinder 9.0 vs2015 windows 10

I tried gl::enableVerticalSync() and vertical sync managed by NVIDIA GTX960m
but nothing !

Any idea or alternative ?

Thanks

Colin

Did you check the setting in the Nvidia control panel under 3d settings? Maybe it’s overriding the app setting

Yes I tried to force vertical sync under Nvidia control panel settings !

Don’t forget to also disable the frame rate limiter.

Ok thanks

I disable pSettings->setFrameRate(60.0f);
and it works !

I forget !