RFC : query.c d3d9 test...
stefandoesinger at gmx.at
Mon Nov 23 14:57:00 CST 2009
Am 23.11.2009 um 21:31 schrieb Roderick Colenbrander:
> On Mon, Nov 23, 2009 at 9:23 PM, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
>> Am 23.11.2009 um 21:00 schrieb chris ahrendt:
>>> The test fails with :
>>> query.c:224: Test failed: IDirect3DQuery9_GetData a 2nd time on a ended query returned 00000001
>> This is Windows, right? Which GPU/driver?
>> My guess is that its ok to modify the test to accept both results. Ie, ok(hr == S_OK | hr == S_FALSE, "...");
> I see it all the time on my Radeon 3400 on Wine.
I guess its fine to accept this result then. I think the original motivation behind these tests was that HL2 called GetData() more than once and this raised GL errors - the query code now filters such calls out to prevent calling bad GL calls.
More information about the wine-devel