[PATCH 4/5] wined3d: Avoid using gl_info in wined3d_get_device_caps().