[PATCH] wined3d: Avoid ending the renderpass when issuing a query.