mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
wsi/common: Allow KHR_present_wait on WL.
The fallback in place ensures a good enough solution. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> Reviewed-by: Joshua Ashton <joshua@froggi.es> Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27275>
This commit is contained in:
parent
0d51cd4808
commit
2f4d6df372
1 changed files with 2 additions and 3 deletions
|
|
@ -1550,9 +1550,8 @@ wsi_common_vk_instance_supports_present_wait(const struct vk_instance *instance)
|
|||
{
|
||||
/* We can only expose KHR_present_wait and KHR_present_id
|
||||
* if we are guaranteed support on all potential VkSurfaceKHR objects. */
|
||||
if (instance->enabled_extensions.KHR_wayland_surface ||
|
||||
instance->enabled_extensions.KHR_win32_surface ||
|
||||
instance->enabled_extensions.KHR_android_surface) {
|
||||
if (instance->enabled_extensions.KHR_win32_surface ||
|
||||
instance->enabled_extensions.KHR_android_surface) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue