summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-07-01 17:34:38 +0100
committerKeith Whitwell <keithw@vmware.com>2009-07-01 17:37:15 +0100
commit6c913411d39fd68eee1c1eeee7b6e81db9785fd1 (patch)
tree7822fce0fe247ecf5d1460a29e44575008b97b0b /src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
parent1c04731b8721850b6abb12a43a3eec616b850e86 (diff)
st/wgl: dummy implementation of wgl swapinterval extension
Required as some applications retrieve and call these functions regardless of the fact that we don't advertise the extension and further more the results of wglGetProcAddress are NULL.
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c b/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
index 8cacbb8926..54cc038905 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_getprocaddress.c
@@ -56,6 +56,10 @@ static const struct stw_extension_entry stw_extension_entries[] = {
/* WGL_EXT_extensions_string */
STW_EXTENSION_ENTRY( wglGetExtensionsStringEXT ),
+ /* WGL_EXT_swap_interval */
+ STW_EXTENSION_ENTRY( wglGetSwapIntervalEXT ),
+ STW_EXTENSION_ENTRY( wglSwapIntervalEXT ),
+
{ NULL, NULL }
};