mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 00:25:46 -04:00
dep: Update Vulkan headers
This commit is contained in:
@ -218,4 +218,8 @@ extern "C" {
|
||||
#ifdef SUPPORTS_VULKAN_EXCLUSIVE_FULLSCREEN
|
||||
#define vkAcquireFullScreenExclusiveModeEXT ds_vkAcquireFullScreenExclusiveModeEXT
|
||||
#define vkReleaseFullScreenExclusiveModeEXT ds_vkReleaseFullScreenExclusiveModeEXT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Vulkan 1.3 functions.
|
||||
#define vkGetDeviceBufferMemoryRequirements ds_vkGetDeviceBufferMemoryRequirements
|
||||
#define vkGetDeviceImageMemoryRequirements ds_vkGetDeviceImageMemoryRequirements
|
||||
|
@ -233,4 +233,8 @@ VULKAN_DEVICE_ENTRY_POINT(vkAcquireFullScreenExclusiveModeEXT, false)
|
||||
VULKAN_DEVICE_ENTRY_POINT(vkReleaseFullScreenExclusiveModeEXT, false)
|
||||
#endif
|
||||
|
||||
// Vulkan 1.3 functions.
|
||||
VULKAN_DEVICE_ENTRY_POINT(vkGetDeviceBufferMemoryRequirements, false)
|
||||
VULKAN_DEVICE_ENTRY_POINT(vkGetDeviceImageMemoryRequirements, false)
|
||||
|
||||
#endif // VULKAN_DEVICE_ENTRY_POINT
|
||||
|
@ -497,7 +497,7 @@ bool Vulkan::Texture::Update(u32 x, u32 y, u32 width, u32 height, u32 level, u32
|
||||
if (res != VK_SUCCESS)
|
||||
{
|
||||
LOG_VULKAN_ERROR(res, "vmaCreateBuffer() failed: ");
|
||||
return VK_NULL_HANDLE;
|
||||
return false;
|
||||
}
|
||||
|
||||
// Immediately queue it for freeing after the command buffer finishes, since it's only needed for the copy.
|
||||
|
Reference in New Issue
Block a user