mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-18 09:25:32 +00:00
Cubemap support for D3D11
This commit is contained in:
@@ -3970,10 +3970,13 @@ void VulkanCommandQueue::execute() {
|
||||
vk::ResetFences(m_ctx->m_dev, 1, &m_drawCompleteFence);
|
||||
|
||||
/* Perform texture and swap-chain resizes */
|
||||
if (m_ctx->_resizeSwapChains() || m_texResizes.size()) {
|
||||
if (m_ctx->_resizeSwapChains() || m_texResizes.size() || m_cubeTexResizes.size()) {
|
||||
for (const auto& resize : m_texResizes)
|
||||
resize.first->resize(m_ctx, resize.second.first, resize.second.second);
|
||||
m_texResizes.clear();
|
||||
for (const auto& resize : m_cubeTexResizes)
|
||||
resize.first->resize(m_ctx, resize.second.first, resize.second.second);
|
||||
m_cubeTexResizes.clear();
|
||||
resetCommandBuffer();
|
||||
_rollbackImageLayouts();
|
||||
m_dynamicNeedsReset = true;
|
||||
|
||||
Reference in New Issue
Block a user