summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-05-07 14:10:20 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-05-07 16:15:45 +0100
commit98934f4abafc38a19c1b5bd5d48a4f920599b2b0 (patch)
treee5646d82dd8d5e8c98a4fb5e523a61fae94dc5bb
parentaee501060bec7ef548a37f6a7676c51eb67bf882 (diff)
st/wgl: Advertise WGL_ARB_create_context(_profile).
We added wglCreateContextAttribsARB but not the extension strings. This allows creation of GL 3.x contexts. Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c b/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
index 566f78cea16..06a152bd51f 100644
--- a/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
+++ b/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
@@ -35,6 +35,8 @@
static const char *stw_extension_string =
+ "WGL_ARB_create_context "
+ "WGL_ARB_create_context_profile "
"WGL_ARB_extensions_string "
"WGL_ARB_multisample "
"WGL_ARB_pbuffer "