[PATCH] wined3d: fix wrong data order for D3DQUERYTYPE_TIMESTAMPDISJOINT

Henri Verbeet hverbeet at gmail.com
Sat Apr 25 09:03:25 CDT 2015


On 25 April 2015 at 14:26, Patrick Rudolph <siro at das-labor.org> wrote:
> At the moment the querry D3DQUERYTYPE_TIMESTAMPDISJOINT returns TRUE instead
> of FALSE due to wrong data order in struct
> wined3d_query_data_timestamp_disjoint.
>
Please use "git send-email" for sending patches. (Or fix your MUA to
inline them.)
Unfortunately swapping the order of the fields will introduce a hole
in the structure between "disjoint" and "frequency", and make it
incompatible with the equivalent d3d10 structure
(D3D10_QUERY_DATA_TIMESTAMP_DISJOINT). I think it would be much nicer
to fix the initializer of "disjoint_data" in
wined3d_timestamp_disjoint_query_ops_get_data() to match the structure
layout instead.



More information about the wine-devel mailing list