Skip to content

Commit

Permalink
GPUDevice: Fix debug assertion tripping in Vulkan
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Aug 10, 2024
1 parent b72e622 commit 8295fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/gpu_framebuffer_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ template<typename FBOType, FBOType (*FactoryFunc)(GPUTexture* const* rts, u32 nu
void (*DestroyFunc)(FBOType fbo)>
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();)
{
if (!it->first.ContainsRT(tex))
Expand Down

0 comments on commit 8295fd9

Please sign in to comment.