[PATCH 2/7] d3d9/tests: Test that Direct3D9 doesn't modify the pixel format of the window it targets. (try 3)

Ken Thomases ken at codeweavers.com
Thu Feb 13 17:31:25 CST 2014


try 3: use create_device(); test Present() with override window; call wglCreateContext()
to make GetPixelFormat() return the format set by SetPixelFormat().
try 2: skip rather than fail if can't find a pixel format or if SetPixelFormat()
fails.
---
dlls/d3d9/tests/Makefile.in |   2 +-
dlls/d3d9/tests/device.c    | 146 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 147 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-d3d9-tests-Test-that-Direct3D9-doesn-t-modify-the-pi.patch
Type: text/x-patch
Size: 5631 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140213/b737657d/attachment.bin>


More information about the wine-patches mailing list