Commit acc9fb18 authored by He Haocheng's avatar He Haocheng Committed by Marge Bot
Browse files

zink: do not fail when EXT_calibrated_timestamps is unavailable

Fixes: 039078fe

 ("zink: slight refactor of load_device_extensions()")
Acked-by: Danylo Piliaiev's avatarDanylo Piliaiev <>
Reviewed-by: Erik Faye-Lund 's avatarErik Faye-Lund <>
Reviewed-by: Mike Blumenkrantz's avatarMike Blumenkrantz <>
Part-of: <!11314>
parent 5f613822
......@@ -1631,7 +1631,7 @@ zink_internal_create_screen(const struct pipe_screen_config *config)
if (!zink_verify_device_extensions(screen))
goto fail;
if (!check_have_device_time(screen))
if (screen->info.have_EXT_calibrated_timestamps && !check_have_device_time(screen))
goto fail;
screen->have_triangle_fans = true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment