Direct3D9 CreateQuery fix
Roderick Colenbrander
thunderbird2k at gmx.net
Tue Oct 25 01:44:06 CDT 2005
Hi,
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.
Regards,
Roderick Colenbrander
--
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20051025/ac865e2d/d3d9query.diff
More information about the wine-patches
mailing list