Direct3D9 CreateQuery fix

Roderick Colenbrander thunderbird2k at
Tue Oct 25 01:44:06 CDT 2005

In case of D3D9 the CreateQuery call can be used to retrieve status  
information. According to MSDN the 'ppQuery' parameter can be set to NULL  
to detect if a certain query Type is supported. Right now wined3d handles  
this correctly but d3d9 returns a 'D3DERR_INVALIDCALL' when it detects  
that ppQuery is NULL.  
This patch fixes the wrong behaviour of d3d9's CreateQuery call.  
Roderick Colenbrander 

10 GB Mailbox, 100 FreeSMS/Monat
+++ GMX - die erste Adresse für Mail, Message, More +++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d3d9query.fix
Type: text/x-diff
Size: 561 bytes
Desc: not available
Url :

More information about the wine-patches mailing list