From: Keith Whitwell Date: Fri, 3 Jul 2009 09:37:14 +0000 (+0100) Subject: st/wgl: don't advertise WGL_EXT_swap_interval string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa98575ebb97bc38cf40acd3d78b72ee49f7b86b;p=mesa.git st/wgl: don't advertise WGL_EXT_swap_interval string This is a tweak to a previous fix -- it's not necessary to actually advertise this extension to prevent these games from crashing -- they ignore the extension string anyway. It's sufficient to just have GetProcAddress return some dummy function addresses for SwapInterval. Given we don't really implement this funcitonality, this is a better fix. --- diff --git a/src/gallium/state_trackers/wgl/shared/stw_extensionsstring.c b/src/gallium/state_trackers/wgl/shared/stw_extensionsstring.c index 00514635aa0..62c859e1f92 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_extensionsstring.c +++ b/src/gallium/state_trackers/wgl/shared/stw_extensionsstring.c @@ -38,7 +38,7 @@ static const char *stw_extension_string = "WGL_ARB_extensions_string " "WGL_ARB_multisample " "WGL_ARB_pixel_format " - "WGL_EXT_swap_interval " +/* "WGL_EXT_swap_interval " */ "WGL_EXT_extensions_string";