Vsync in SDL

hi
i use SDL_GL_SetAttribute( SDL_GL_SWAP_CONTROL, 0 ); for disabling vsync in my application ,and it work correctly but i can’t enabling vsync after i disable it in my application, what can i do?! for enabling vsync again with out restarting my application?!

Why don’t you ask on SDL forums?