Fix Android builds
Recent changes to ktx integration were missing Fixes #1168
This commit is contained in:
parent
d184cf64c5
commit
2871b76a0f
4 changed files with 9 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ set(KTX_SOURCES
|
|||
${KTX_DIR}/lib/swap.c
|
||||
${KTX_DIR}/lib/memstream.c
|
||||
${KTX_DIR}/lib/filestream.c
|
||||
${KTX_DIR}/lib/vkloader.c
|
||||
)
|
||||
set(KTX_INCLUDE
|
||||
${KTX_DIR}/include
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Android Vulkan function pointer loader
|
||||
*
|
||||
* Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2016-2024 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
@ -142,6 +142,8 @@ PFN_vkQueuePresentKHR vkQueuePresentKHR;
|
|||
|
||||
PFN_vkResetCommandBuffer vkResetCommandBuffer;
|
||||
|
||||
PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties;
|
||||
|
||||
int32_t vks::android::screenDensity;
|
||||
|
||||
void *libVulkan;
|
||||
|
|
@ -325,6 +327,8 @@ namespace vks
|
|||
vkQueuePresentKHR = reinterpret_cast<PFN_vkQueuePresentKHR>(vkGetInstanceProcAddr(instance, "vkQueuePresentKHR"));
|
||||
|
||||
vkResetCommandBuffer = reinterpret_cast<PFN_vkResetCommandBuffer>(vkGetInstanceProcAddr(instance, "vkResetCommandBuffer"));
|
||||
|
||||
vkGetPhysicalDeviceImageFormatProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceImageFormatProperties>(vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceImageFormatProperties"));
|
||||
}
|
||||
|
||||
void freeVulkanLibrary()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Android Vulkan function pointer prototypes
|
||||
*
|
||||
* Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2016-2024 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
@ -176,6 +176,8 @@ extern PFN_vkQueuePresentKHR vkQueuePresentKHR;
|
|||
|
||||
extern PFN_vkResetCommandBuffer vkResetCommandBuffer;
|
||||
|
||||
extern PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties;
|
||||
|
||||
namespace vks
|
||||
{
|
||||
namespace android
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue