]> git.sesse.net Git - ffmpeg/commitdiff
hwcontext_vulkan: don't add the optional VK_KHR_surface extension by default
authorLynne <dev@lynne.ee>
Tue, 12 May 2020 19:40:29 +0000 (20:40 +0100)
committerLynne <dev@lynne.ee>
Tue, 12 May 2020 20:32:34 +0000 (21:32 +0100)
Both API and CLI users can enable any extension they'd like using the options.

libavutil/hwcontext_vulkan.c

index e3df428049de21bf828d27ea752c6d0b652e1386..8f3f3fdd2a28926f5fc0f444352d445d1bfd576f 100644 (file)
@@ -194,7 +194,7 @@ typedef struct VulkanOptExtension {
 } VulkanOptExtension;
 
 static const VulkanOptExtension optional_instance_exts[] = {
-    { VK_KHR_SURFACE_EXTENSION_NAME, EXT_NO_FLAG },
+    /* For future use */
 };
 
 static const VulkanOptExtension optional_device_exts[] = {