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:
Jordan Petridis 2024-07-23 17:10:05 +02:00
parent e6cafa890d
commit cc5526e019
No known key found for this signature in database

View File

@ -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]);