On 22/08/07, Stefan Dösinger stefan@codeweavers.com wrote:
Can't we wait for the other thread & context to become active? Afaik occlusion queries are allowed to block on Windows.
Am Mittwoch, 22. August 2007 11:44 schrieb H. Verbeet:
On 22/08/07, Stefan Dösinger stefan@codeweavers.com wrote:
Can't we wait for the other thread & context to become active? Afaik occlusion queries are allowed to block on Windows.
Queries do not block, but they can return that no data is available, and we could do that here. Unfortunately many games seem to do something like while(!dataAvailable(query));, which would cause problems in that case.