mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-14 11:15:42 -04:00
GPUDevice: Fix debug assertion tripping in Vulkan
This commit is contained in:
parent
b72e622ae0
commit
8295fd9c3a
@ -90,7 +90,7 @@ template<typename FBOType, FBOType (*FactoryFunc)(GPUTexture* const* rts, u32 nu
|
|||||||
void (*DestroyFunc)(FBOType fbo)>
|
void (*DestroyFunc)(FBOType fbo)>
|
||||||
void GPUFramebufferManager<FBOType, FactoryFunc, DestroyFunc>::RemoveRTReferences(const GPUTexture* tex)
|
void GPUFramebufferManager<FBOType, FactoryFunc, DestroyFunc>::RemoveRTReferences(const GPUTexture* tex)
|
||||||
{
|
{
|
||||||
DebugAssert(tex->IsRenderTarget());
|
DebugAssert(tex->IsRenderTarget() || tex->IsRWTexture());
|
||||||
for (auto it = m_map.begin(); it != m_map.end();)
|
for (auto it = m_map.begin(); it != m_map.end();)
|
||||||
{
|
{
|
||||||
if (!it->first.ContainsRT(tex))
|
if (!it->first.ContainsRT(tex))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user