[PATCH 5/5] wined3d: Use local gl_info variable in wined3d_get_device_caps().