vulkan: VK_API_VERSION has been removed
authorMatthew Waters <matthew@centricular.com>
Wed, 23 Mar 2016 11:13:47 +0000 (22:13 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 23 Mar 2016 11:15:35 +0000 (22:15 +1100)
In a stable release too, naughty.

Use VK_API_VERSION_1_0 instead

https://bugzilla.gnome.org/show_bug.cgi?id=764066

ext/vulkan/vkinstance.c

index 28c4e78..ae00e49 100644 (file)
@@ -299,7 +299,7 @@ gst_vulkan_instance_open (GstVulkanInstance * instance, GError ** error)
     app.applicationVersion = 0;
     app.pEngineName = APP_SHORT_NAME;
     app.engineVersion = 0;
-    app.apiVersion = VK_API_VERSION;
+    app.apiVersion = VK_API_VERSION_1_0;
 
     inst_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
     inst_info.pNext = NULL;