mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
gdkvulkancontext: set the VkSemaphore to VK_NULL_HANDLE
Vulkan objects are integers on 32bit and it's failing when it's set to just NULL. ``` ../gdk/gdkvulkancontext.c:677:24: error: assignment to ‘VkSemaphore’ {aka ‘long long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 677 | priv->draw_semaphore = NULL; ```
This commit is contained in:
parent
e6cafa890d
commit
cc5526e019
@ -674,7 +674,7 @@ gdk_vulkan_context_begin_frame (GdkDrawContext *draw_context,
|
||||
break;
|
||||
}
|
||||
|
||||
priv->draw_semaphore = NULL;
|
||||
priv->draw_semaphore = VK_NULL_HANDLE;
|
||||
|
||||
cairo_region_union (region, priv->regions[priv->draw_index]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user