On 17 July 2010 12:43, Florian Köberle florian@fkoeberle.de wrote:
- if ((caps.Caps & D3DCAPS_READ_SCANLINE) == 0) {
- ZeroMemory( &rasterStatus, sizeof(rasterStatus) );
- hr = IDirect3DDevice9_GetRasterStatus(pDevice, 0, &rasterStatus);
- todo_wine
- ok(hr == D3DERR_INVALIDCALL, "GetRasterStatus should return D3DERR_INVALIDCALL\n");
- } else {
- skip("Device supports D3DCAPS_READ_SCANLINE\n");
- }
I think in principle this makes sense, but in practice I'd expect drivers not supporting D3DCAPS_READ_SCANLINE to be rare enough that this will pretty much always get skipped.