22 Nov
2016
22 Nov
'16
9:29 a.m.
On 21 November 2016 at 15:15, Józef Kucia <jkucia(a)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.