Józef Kucia : wined3d: Avoid using gl_info in wined3d_get_device_caps().