The r_swapInterval cvar is not supported in the current SDL GL implementation.
Recently (version 1.2.10?) libSDL added a GL Attribute for handling this: SDL_GL_SWAP_CONTROL
Attached patch makes use of this new attribute to support r_swapInterval, but frankly I have no idea how to tell if it's working or not. I made a Mac OS X build using this patch (built against SDL 1.2.11) here:
http://tjw.org/ioquake3-ub/ioquake3-svn1014M.dmg
If you make use of this cvar, please test and let me know. You may need to
do /vid_restart after changing the r_swapInterval cvar, I also need to know
if that is required.
That .dmg url isn't working.
You can tell if it's working by setting r_swapinterval to 1 and com_maxfps to 125. Now if your fps go up to 125 it's not working, if your fps get capped at the monitor's refresh rate, it works. Best to try in test_bigbox or some map where your computer easily makes more fps than Hz
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.
--ryan.
Thanks for the information in bug 3115
I added SDL r_swapInterval support at revision 1088.
Also, I updated the included SDL headers and Mac OS X library at revision 1089.
Created attachment 1209 [details] svn1014 SDL r_swapInterval support