Skip to content

Commit

Permalink
Another fix for crashing with VK_DEVICE_LOST (#3404)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtytel authored Jan 31, 2025
1 parent 2b1c73f commit 736bffa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/renderer_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7819,10 +7819,10 @@ VK_DESTROY
}

m_denseIdx = _denseIdx;
m_nwh = _nwh;
m_width = _width;
m_height = _height;
m_sampler = m_swapChain.m_sampler;
m_nwh = _nwh;
m_width = m_swapChain.m_sci.imageExtent.width;
m_height = m_swapChain.m_sci.imageExtent.height;
m_sampler = m_swapChain.m_sampler;

return result;
}
Expand Down

0 comments on commit 736bffa

Please sign in to comment.