[PATCH 3/5] ddraw/tests: Add a IDirect3DDevice2 GetCaps test (try 2)
Saulius Krasuckas
saulius2 at ar.fi.lt
Mon Jan 16 15:31:56 CST 2012
* On Sat, 14 Jan 2012, Stefan Dösinger wrote:
> Am Samstag, 14. Januar 2012, 11:21:15 schrieb Saulius Krasuckas:
> > http://test.winehq.org/data/1fa1ab54376bace57f78d27ac13b7229caa56a2e/xp_wtb
> > -wxpx64-32/ddraw:d3d.html
> >
> > d3d.c:5075: Test failed: CreateDevice failed: 88760091.
> This is DDERR_INVALIDPIXELFORMAT. The code doesn't provide a pixelformat for
> the offscreen surface, which means the screen's format should be used. What
> color depth is this machine runnning at?
I know nothing about this machine as it belongs to Wine Test Bot.
Maybe we do need additional trace() for it (like it is done in
d3d9:visual, opengl32:opengl, dsound:propset or winmm:wave to find out
model/name of an appropriate hardware specifics).
Stefan, would GetDeviceCaps( GetDC(NULL), BITSPIXEL ) do the trick?
> My generic guess is that adding a broken(hr == DDERR_INVALIDPIXELFORMAT)
> is the best thing we can do here.
I am all for broken() as it seems to be no other guy able to investigate
this in more depth.
Even more -- I am against testing 3D related things inside virtual
machines at all:)
S.
More information about the wine-devel
mailing list