2010/1/5 Stefan Dösinger stefandoesinger@gmx.at:
After the discussion on IRC I wasn't quite sure what you intended with wined3d_event_query_wait(), but maybe it was something like this:
More something along the lines of the attached patch, actually. There are of course some intermediate steps.