diff options
author | Brian Paul <[email protected]> | 2014-05-20 14:56:41 -0600 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-05-30 18:52:39 +0100 |
commit | bd36cbfa5aa31817a04335a7c364224d0db64428 (patch) | |
tree | 272c4198146d3547010f8801b6d4738ee6524f75 /.gitignore | |
parent | fa55c2402c11aaccfc30b198b22b136142574a9c (diff) |
st/wgl: fix implementation of wglCreateContextAttribsARB()
wglCreateContextAttribsARB() didn't work previously since it returned
a context ID that wasn't allocated by OPENGL32.DLL. So if that context
ID was later passed to wglMakeCurrent(), etc. it was rejected.
Now when wglCreateContextAttribsARB() is called we actually call
wglCreateContext() in order to get a valid context ID. Then we
replace the context data which was created with new context data
which reflects the arguments passed to wglCreateContextAttribsARB().
If there were a DrvCreateContextAttribs() function in the ICD this
work-around wouldn't be necessary.
Reviewed-by: Charmaine Lee <[email protected]>
Conflicts:
src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
src/gallium/state_trackers/wgl/stw_getprocaddress.c
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions