mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 10:20:52 +00:00
Cleanup. (#3835)
This commit is contained in:
committed by
GitHub
parent
af0256b57a
commit
d219e7c2d6
@@ -1998,12 +1998,16 @@ VK_IMPORT_INSTANCE
|
||||
}
|
||||
}
|
||||
|
||||
if (UINT32_MAX == m_videoDecodeQueueFamily
|
||||
|| NULL != g_platformData.context)
|
||||
{
|
||||
m_videoDecodeQueueFamily = m_globalQueueFamily;
|
||||
}
|
||||
|
||||
if (NULL != g_platformData.context)
|
||||
{
|
||||
m_device =
|
||||
m_externalDevice = (VkDevice)g_platformData.context;
|
||||
|
||||
m_videoDecodeQueueFamily = m_globalQueueFamily;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2064,11 +2068,6 @@ VK_IMPORT_INSTANCE
|
||||
BX_TRACE("\t%s", enabledExtension[ii]);
|
||||
}
|
||||
|
||||
if (UINT32_MAX == m_videoDecodeQueueFamily)
|
||||
{
|
||||
m_videoDecodeQueueFamily = m_globalQueueFamily;
|
||||
}
|
||||
|
||||
const float queuePriorities[] = { 0.0f };
|
||||
VkDeviceQueueCreateInfo dcqi[2];
|
||||
bx::memSet(dcqi, 0, sizeof(dcqi) );
|
||||
|
||||
Reference in New Issue
Block a user