[PATCH 6/8] d3d9/tests: Test that Direct3D9 doesn't modify the pixel format of the window it targets. (try 4, resend)

Ken Thomases ken at codeweavers.com
Wed Feb 19 16:15:11 CST 2014


try 4: dynamically load opengl32 rather than linking it; that removes the need to
call wglCreateContext()
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/device.c |  144 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 144 insertions(+), 0 deletions(-)

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


More information about the wine-patches mailing list