WGL: get rid of wglCopyContext

Roderick Colenbrander thunderbird2k at gmail.com
Sat Nov 14 15:33:46 CST 2009


I'm in the process of rewriting the context creation code in the wgl
code. Right now context creation is delayed until a context is made
current because of context sharing issues. Because of OpenGL 3.0
support we can't delay creation because we can't catch errors during
context creation (opengl3 introduces a bunch of error codes). I want
to have as much context creation code in wglCreateContext where

To make the code cleaner I want to get rid of wglCopyContext. Neither
Lionel or I have EVER seen a program which uses this function. Further
due to this all driver implementations of this call are broken or even
segfault. In case of mesa/dri the call is even limited to indirect
rendering only. Since the glXCopyContext function is so broken and
because it makes the wgl code nicer, I want to get rid of this code
once and for all.

Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Get-rid-of-wglCopyContext.patch
Type: text/x-diff
Size: 3290 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091114/7f046a4f/attachment.patch>

More information about the wine-patches mailing list