Add a missing deprecation note

GdkVulkanContext is deprecated and only exposed in the api because
we need it as return type of the (deprecated)
gdk_surface_create_vulkan_context() API.
This commit is contained in:
Matthias Clasen 2024-04-18 12:49:18 -04:00
parent ee67edbe3a
commit 74a1c0916a

View File

@ -57,6 +57,9 @@ static const GdkDebugKey gsk_vulkan_feature_keys[] = {
* *
* Support for `GdkVulkanContext` is platform-specific and context creation * Support for `GdkVulkanContext` is platform-specific and context creation
* can fail, returning %NULL context. * can fail, returning %NULL context.
*
* Deprecated: 4.14: GTK does not expose any Vulkan internals. This
* struct is a leftover that was accidentally exposed.
*/ */
typedef struct _GdkVulkanContextPrivate GdkVulkanContextPrivate; typedef struct _GdkVulkanContextPrivate GdkVulkanContextPrivate;