Add stubs for wglSwapIntervalEXT & wglGetSwapIntervalEXT

Troy Rollo wine at troy.rollo.name
Mon Jan 31 03:29:01 CST 2005


At least one game (Star Wars: Knights of the Old Republic) attempts to call 
wglSwapIntervalEXT without testing the pointer returned by wglGetProcAddress, 
resulting in a SEGV. This patch adds a stub for wglSwapIntervalEXT and the 
related wglGetSwapIntervalEXT, which is sufficient for SWKotOR to get at 
least as far as its main menu. It does not advertise the availability of this 
extension since if an app tests for it that way, it's better that it not be 
found.

ChangeLog:
 Add stubs for wglSwapIntervalEXT & wglGetSwapIntervalEXT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swapinterval.diff
Type: text/x-diff
Size: 1699 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050131/525af856/swapinterval.bin


More information about the wine-patches mailing list