[PATCH 1/2] wined3d: Add sync object after query buffer issue.