[PATCH 5/8] wined3d: Restore the pixel format of the window whose pixel format was actually changed. (try 3)

Ken Thomases ken at codeweavers.com
Wed Feb 19 16:14:53 CST 2014


The code had been restoring the pixel format of the window targeted by the
app's current GL context, if any.  If there were no current GL context or if it
were targeting a different window, then the pixel format of the window targeted
by wined3d would not be restored.

try 3: sets needs_set in context_enter() if context DC's pixel format isn't what
it should be
try 2: restore a return statement that I had removed accidentally
---
dlls/wined3d/context.c         |   87 ++++++++++++++++++++++++++++++----------
dlls/wined3d/wined3d_private.h |    1 +
2 files changed, 66 insertions(+), 22 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-wined3d-Restore-the-pixel-format-of-the-window-whose.patch
Type: text/x-patch
Size: 7555 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140219/9abcd091/attachment.bin>


More information about the wine-patches mailing list