Skip to content

Commit edcdd09

Browse files
FIX THE MOST STUPID BUG EVER!
The swapchain was never holding onto anything!
1 parent ebf444e commit edcdd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/video/ISwapchain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ class ISwapchain : public IBackendObject
490490
inline DeferredFrameResourceDrop& operator=(DeferredFrameResourceDrop&& other)
491491
{
492492
m_frameResources = std::move(other.m_frameResources);
493-
m_frameResources = nullptr;
493+
other.m_frameResources = nullptr;
494494
return *this;
495495
}
496496

0 commit comments

Comments
 (0)