wined3d: Pass around the context instead of gl_info.