Re: [PATCH 2/6] wined3d: Increase data size for occlusion queries to 8 bytes.
22 Nov
2016
22 Nov
'16
3:29 p.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.
3397
Age (days ago)
3397
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet