mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user