From aa98575ebb97bc38cf40acd3d78b72ee49f7b86b Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 3 Jul 2009 10:37:14 +0100 Subject: [PATCH] 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. --- src/gallium/state_trackers/wgl/shared/stw_extensionsstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.30.2