[PATCH 2/6] wined3d: Increase data size for occlusion queries to 8 bytes.

Henri Verbeet hverbeet at gmail.com
Tue Nov 22 09:29:40 CST 2016


On 21 November 2016 at 15:15, Józef Kucia <jkucia at codeweavers.com> wrote:
> @@ -115,7 +115,9 @@ static DWORD WINAPI d3d9_query_GetDataSize(IDirect3DQuery9 *iface)
>
>      wined3d_mutex_lock();
>      type = wined3d_query_get_type(query->wined3d_query);
> -    if (type == WINED3D_QUERY_TYPE_TIMESTAMP_DISJOINT)
> +    if (type == WINED3D_QUERY_TYPE_OCCLUSION)
> +        ret = sizeof(DWORD);
We probably don't care that much, but note that this only works with
little-endian byte order.



More information about the wine-devel mailing list