[2/2][try 2] ddraw/tests: add test for D3DRENDERSTATE_TEXTUREMAPBLEND state

Alexander Dorofeyev alexd4 at inbox.lv
Sun Jan 6 22:09:54 CST 2008


I've introduced these changes. Also I've found one issue my test wasn't
adequately covering (textures with and without alpha channel), so a few tests
were added for more rigorous and complete testing. Unfortunately additional
tests have shown D3DRENDERSTATE_TEXTUREMAPBLEND state is a bit more complicated
to properly implement than I thought, so some tests had to be put into todo_wine
blocks for now.

Stefan Dösinger wrote:
  > Appart of this issue I recommend to move the D3D1 creation into a separate
  > function. Eventually more D3D1 tests will be written, and we want to
  > discourage copypasting that huge block of code.
---
     dlls/ddraw/tests/visual.c |  783 +++++++++++++++++++++++++++++++++++++++++++++
     1 files changed, 783 insertions(+), 0 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfca11d2016b841a6e10a283d8dc9ab24396c825.diff
Type: text/x-patch
Size: 34973 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080106/fa39490f/attachment-0001.bin 


More information about the wine-patches mailing list