mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-07-12 18:03:52 +00:00
Don't set VK lock/unlock queue functions past libavutil 62
They are scheduled for removal at that ABI bump.
This commit is contained in:
@@ -575,7 +575,7 @@ bool PlVkRenderer::initialize(PDECODER_PARAMETERS params)
|
||||
vkDeviceContext->nb_enabled_inst_extensions = m_PlVkInstance->num_extensions;
|
||||
vkDeviceContext->enabled_dev_extensions = m_Vulkan->extensions;
|
||||
vkDeviceContext->nb_enabled_dev_extensions = m_Vulkan->num_extensions;
|
||||
#if LIBAVUTIL_VERSION_INT > AV_VERSION_INT(58, 9, 100)
|
||||
#if LIBAVUTIL_VERSION_INT > AV_VERSION_INT(58, 9, 100) && LIBAVUTIL_VERSION_MAJOR < 62
|
||||
vkDeviceContext->lock_queue = lockQueue;
|
||||
vkDeviceContext->unlock_queue = unlockQueue;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user