[PATCH 5/6] wined3d: Track if a context's hdc is private so we never need to restore its pixel format.

Ken Thomases ken at codeweavers.com
Sun Mar 23 22:46:18 CDT 2014


This currently only applies to the swapchain backup DC, but it will soon be
used for surfaces created using the WGL_WINE_surface extension.  Also, there
are a couple of cases where ddraw creates private windows and passes them in.
It could be extended to those.
---
dlls/wined3d/context.c         |   21 +++++++++++++--------
dlls/wined3d/wined3d_private.h |    3 ++-
2 files changed, 15 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-wined3d-Track-if-a-context-s-hdc-is-private-so-we-ne.patch
Type: text/x-patch
Size: 4484 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140323/623c4067/attachment.bin>


More information about the wine-patches mailing list