summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-07-03 10:37:14 +0100
committerKeith Whitwell <[email protected]>2009-07-03 14:31:06 +0100
commitaa98575ebb97bc38cf40acd3d78b72ee49f7b86b (patch)
tree9f64cec07fa4a325adba8741bf8dc9a993db85cc /src/gallium/state_trackers/wgl
parentcffe7c8bd0397f8d54e2da16a21c7db4345766b8 (diff)
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.
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_extensionsstring.c2
1 files changed, 1 insertions, 1 deletions
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";