Quote: " don't need to call SetVSync(0) after that"
Yes you do and after you collect it you do need it any longer.
The render does not matter in screen tearing as it is a display problem not a render problem.
So no matter what you use to render it works.
I tested it on all renders.
So this is what I am doing, step by step.
In the main before anything
You might get tearing at first, but then nothing, what i do is set my screen to be black till it is set.
SetVSync(1)
then I set a timer in my loop
if clearme<101
clearme=clearme+1
endif
if clearme=100
ScreenSpeed=ScreenFPS()
SetSyncRate(ScreenSpeed-5,1)
SetVSync(0)
clearme=101
endif
So I am getting the vsync then setting my sync rate to that then setting my vsync off. No tearing.