Skip to content

Commit cceae56

Browse files
committed
Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla
2 parents 6e32ac3 + 03fb95f commit cceae56

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

include/nbl/video/utilities/ISimpleManagedSurface.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ class NBL_API2 ISimpleManagedSurface : public core::IReferenceCounted
6767
friend class ISimpleManagedSurface;
6868

6969
public:
70+
inline ISwapchainResources() = default;
71+
virtual inline ~ISwapchainResources() = default;
72+
7073
//
7174
virtual inline std::span<const asset::E_FORMAT> getPreferredFormats() const {return ISwapchain::SCreationParams::DefaultPreferredFormats;}
7275
virtual inline std::span<const asset::ELECTRO_OPTICAL_TRANSFER_FUNCTION> getPreferredEOTFs() const {return ISwapchain::SCreationParams::DefaultEOTFs;}
@@ -132,8 +135,6 @@ class NBL_API2 ISimpleManagedSurface : public core::IReferenceCounted
132135
}
133136

134137
protected:
135-
virtual ~ISwapchainResources() = default;
136-
137138
//
138139
inline void becomeIrrecoverable()
139140
{

0 commit comments

Comments
 (0)