st/wgl: don't advertise WGL_EXT_swap_interval string
authorKeith Whitwell <keithw@vmware.com>
Fri, 3 Jul 2009 09:37:14 +0000 (10:37 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 3 Jul 2009 13:31:06 +0000 (14:31 +0100)
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

index 0051463..62c859e 100644 (file)
@@ -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";