diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-25 09:53:47 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-25 10:14:16 +0200 |
commit | b62f32a4dd87010e4c51d33ef440e2fbba531361 (patch) | |
tree | 9a0ce238422eadaffd6ce48558de806d3352b6e6 | |
parent | 88cfcd7f3fdbcc09e2270b687b60cda70fc6b33a (diff) |
Make qdoc generate usable docs for QVulkanInstance
It is not just that the unknown native types (e.g. VkInstance) lead to
showing the type as 'int' in some functions, the bigger problem was that
a number of functions were not present in the generated documentation at
all.
Pick-to: 5.15
Change-Id: Id71fe20c3a70a8d3b75bbc693a2a7ee94bb74642
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r-- | src/gui/vulkan/qvulkaninstance.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/vulkan/qvulkaninstance.h b/src/gui/vulkan/qvulkaninstance.h index ea0b04da95..9d7ca783b6 100644 --- a/src/gui/vulkan/qvulkaninstance.h +++ b/src/gui/vulkan/qvulkaninstance.h @@ -58,6 +58,10 @@ typedef void* PFN_vkVoidFunction; typedef unsigned long VkSurfaceKHR; typedef unsigned long VkImage; typedef unsigned long VkImageView; +typedef void* VkInstance; +typedef void* VkPhysicalDevice; +typedef void* VkDevice; +typedef int VkResult; #endif #include <QtCore/qhashfunctions.h> |