Mesa (mesa_7_5_branch): st/wgl: don' t advertise WGL_EXT_swap_interval string
Keith Whitwell
keithw at kemper.freedesktop.org
Fri Jul 3 13:31:56 UTC 2009
Module: Mesa
Branch: mesa_7_5_branch
Commit: aa98575ebb97bc38cf40acd3d78b72ee49f7b86b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa98575ebb97bc38cf40acd3d78b72ee49f7b86b
Author: Keith Whitwell <keithw at vmware.com>
Date: Fri Jul 3 10:37:14 2009 +0100
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.
---
.../wgl/shared/stw_extensionsstring.c | 2 +-
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 0051463..62c859e 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";
More information about the mesa-commit
mailing list