[PATCH 4/6] wined3d: When restoring pixel format in context_release(), mark the context as needing to be set on the next context_acquire().

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


If we had to restore the pixel format then we know it won't be what we need
when the app calls into wined3d again.  This helps avoid the GetPixelFormat()
in context_acquire().
---
dlls/wined3d/context.c |    9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-wined3d-When-restoring-pixel-format-in-context_relea.patch
Type: text/x-patch
Size: 1759 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140323/579d3264/attachment.bin>


More information about the wine-patches mailing list