summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2025-04-16 09:17:46 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2025-05-01 15:00:37 +0200
commitf240e20e3f8250d279255fe48ba6ab351b581679 (patch)
tree3fb93d33a59df696f88c5a6af7e57fb8e33678a1 /Source/Core/VideoBackends/Software
parent0b0151770a2a087063775e654e1b6208033a9c21 (diff)
Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests
Diffstat (limited to 'Source/Core/VideoBackends/Software')
-rw-r--r--Source/Core/VideoBackends/Software/SWGfx.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/SWGfx.h2
-rw-r--r--Source/Core/VideoBackends/Software/SWTexture.h4
-rw-r--r--Source/Core/VideoBackends/Software/SWVertexLoader.h2
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp
index bfe7f95421..c758d1819e 100644
--- a/Source/Core/VideoBackends/Software/SWGfx.cpp
+++ b/Source/Core/VideoBackends/Software/SWGfx.cpp
@@ -71,7 +71,7 @@ class SWShader final : public AbstractShader
{
public:
explicit SWShader(ShaderStage stage) : AbstractShader(stage) {}
- ~SWShader() = default;
+ ~SWShader() override = default;
BinaryData GetBinary() const override { return {}; }
};
diff --git a/Source/Core/VideoBackends/Software/SWGfx.h b/Source/Core/VideoBackends/Software/SWGfx.h
index 83773eccdb..2ea36de5d8 100644
--- a/Source/Core/VideoBackends/Software/SWGfx.h
+++ b/Source/Core/VideoBackends/Software/SWGfx.h
@@ -16,7 +16,7 @@ public:
~SWGfx() override;
bool IsHeadless() const override;
- virtual bool SupportsUtilityDrawing() const override;
+ bool SupportsUtilityDrawing() const override;
std::unique_ptr<AbstractTexture> CreateTexture(const TextureConfig& config,
std::string_view name) override;
diff --git a/Source/Core/VideoBackends/Software/SWTexture.h b/Source/Core/VideoBackends/Software/SWTexture.h
index 9332dccb98..89f5fa136f 100644
--- a/Source/Core/VideoBackends/Software/SWTexture.h
+++ b/Source/Core/VideoBackends/Software/SWTexture.h
@@ -18,7 +18,7 @@ class SWTexture final : public AbstractTexture
{
public:
explicit SWTexture(const TextureConfig& tex_config);
- ~SWTexture() = default;
+ ~SWTexture() override = default;
void CopyRectangleFromTexture(const AbstractTexture* src,
const MathUtil::Rectangle<int>& src_rect, u32 src_layer,
@@ -40,7 +40,7 @@ class SWStagingTexture final : public AbstractStagingTexture
{
public:
explicit SWStagingTexture(StagingTextureType type, const TextureConfig& config);
- ~SWStagingTexture();
+ ~SWStagingTexture() override;
void CopyFromTexture(const AbstractTexture* src, const MathUtil::Rectangle<int>& src_rect,
u32 src_layer, u32 src_level,
diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.h b/Source/Core/VideoBackends/Software/SWVertexLoader.h
index 59b6ca65fd..604e18d194 100644
--- a/Source/Core/VideoBackends/Software/SWVertexLoader.h
+++ b/Source/Core/VideoBackends/Software/SWVertexLoader.h
@@ -17,7 +17,7 @@ class SWVertexLoader final : public VertexManagerBase
{
public:
SWVertexLoader();
- ~SWVertexLoader();
+ ~SWVertexLoader() override;
DataReader PrepareForAdditionalData(OpcodeDecoder::Primitive primitive, u32 count, u32 stride,
bool cullall) override;
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index 6878075dad..51c714ad2d 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -29,7 +29,7 @@ class PerfQuery : public PerfQueryBase
{
public:
PerfQuery() {}
- ~PerfQuery() {}
+ ~PerfQuery() override {}
void EnableQuery(PerfQueryGroup type) override {}
void DisableQuery(PerfQueryGroup type) override {}
void ResetQuery() override { EfbInterface::ResetPerfQuery(); }