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