Set max FPS output internally after having set v-sync via SDL. It looks like just setting max FPS output to display refresh rate manually is not enough to avoid tearing. Therefore, set it only when v-sync has been successfuly set. It seems that there is some smoothness improvement, possibly more visible in the lower end graphics cards.