Józef Kucia : wined3d: Use local gl_info variable in wined3d_get_device_caps().