Possible vertical sync issue

Hello all,

I’ve been playing around with SDL scfreensavers on Windows (Win32 + C++). When
I update my surface and call the SDL_Flip, it seems like theres a vsync issue or

I’m not using OpenGL calls, so I’m wondering how to fix this.

The screensaver is here:

The source is here:

Any help would be great, thanx!