View Single Post
Old 10-25-11, 01:10 AM   #22
lexa2
Registered User
 
Join Date: Jul 2011
Location: Moscow, Russian Federation
Posts: 58
Send a message via ICQ to lexa2 Send a message via Skype™ to lexa2
Default Re: Wine + VSync forced in nvidia-settings doesn't work

Quote:
Originally Posted by AaronP View Post
Sorry, you're right; I was thinking of EXT_swap_control, not SGI_swap_control.
Yeah and that's the exact specs ambiguity I've been mentioning. SGI_swap_control defaults swap_interval to be 1 and directly forbids setting it to 0. EXT_swap_control permits using 0 as swap_interval and also states that "Calling glXSwapIntervalSGI is equivalent to calling glXSwapIntervalEXT on the current drawable, if one exists". Does this "equivalent" means that when EXT_swap_control is available in OpenGL implementation glXSwapIntervalSGI should be implemented as simple forward to glXSwapIntervalEXT thus allowing 0 as a valid argument isn't clearly stated. Personally I would stick with prohibiting usage of zero as an argument to glXSwapIntervalSGI as allowing it might cause unexpected behavior in older applications that are unaware of EXT_swap_control/glXSwapIntervalEXT existence.
lexa2 is offline   Reply With Quote