summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null/NullTexture.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-27 16:03:55 -0400
committerLioncash <mathew1800@gmail.com>2019-07-27 17:33:18 -0400
commit86000fc6b4531123adb2cffa46fffae5ebfe425d (patch)
treea6cbafa1eede4362a6675c984ecbbb844cedd0d4 /Source/Core/VideoBackends/Null/NullTexture.h
parentbdcc5853d51d82301a8a05cee721c395fabe918b (diff)
VideoBackends/Null: Remove unnecessary constructors and destructors
Removes constructors and destructors that don't actually provide any behavior (i.e. doesn't constain generated code related to non-trivial members in a cpp file, etc). Lessens the amount of code present.
Diffstat (limited to 'Source/Core/VideoBackends/Null/NullTexture.h')
-rw-r--r--Source/Core/VideoBackends/Null/NullTexture.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Null/NullTexture.h b/Source/Core/VideoBackends/Null/NullTexture.h
index 42cbc7e542..ce3726be0f 100644
--- a/Source/Core/VideoBackends/Null/NullTexture.h
+++ b/Source/Core/VideoBackends/Null/NullTexture.h
@@ -19,7 +19,6 @@ class NullTexture final : public AbstractTexture
{
public:
explicit NullTexture(const TextureConfig& config);
- ~NullTexture() = default;
void CopyRectangleFromTexture(const AbstractTexture* src,
const MathUtil::Rectangle<int>& src_rect, u32 src_layer,
@@ -58,7 +57,6 @@ public:
explicit NullFramebuffer(AbstractTexture* color_attachment, AbstractTexture* depth_attachment,
AbstractTextureFormat color_format, AbstractTextureFormat depth_format,
u32 width, u32 height, u32 layers, u32 samples);
- ~NullFramebuffer() override = default;
static std::unique_ptr<NullFramebuffer> Create(NullTexture* color_attachment,
NullTexture* depth_attachment);