[PATCH 2/5] wined3d: Make use of WGL_WINE_make_current extension to restore the previous GL context without reference to its DC. (try 2)

Ken Thomases ken at codeweavers.com
Wed Feb 26 15:45:36 CST 2014


try 2: keep WGL_WINE_MAKE_CURRENT in lexical order; look up wglMakeContextCurrentWINE
in load_gl_funcs()
---
dlls/wined3d/context.c         |   10 ++++++++++
dlls/wined3d/directx.c         |   31 ++++++++++++++++++++++---------
dlls/wined3d/wined3d_gl.h      |    1 +
dlls/wined3d/wined3d_private.h |    1 +
4 files changed, 34 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-wined3d-Make-use-of-WGL_WINE_make_current-extension-.patch
Type: text/x-patch
Size: 6584 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140226/1584c2c4/attachment-0001.bin>


More information about the wine-patches mailing list