summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWGfx.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-05-03 20:20:07 -0500
committerGitHub <noreply@github.com>2026-05-03 20:20:07 -0500
commite22551eae1c84a7e4d0b6a5c519ef4ed4ef69df1 (patch)
treeeea011548860993fa5c1e92cdd82e70a2f986022 /Source/Core/VideoBackends/Software/SWGfx.cpp
parenteb44b64c9ecbca2f6e346a1d2bdcdf00609f9f31 (diff)
parent34646cb9a90eb0ef7fa489f76753184359e7aa15 (diff)
Merge pull request #14641 from Dentomologist/replace_maybe_unused_annotations_with_commented_names
Replace some [[maybe_unused]] annotations with commented names
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWGfx.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWGfx.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp
index ed152aef95..7004c50864 100644
--- a/Source/Core/VideoBackends/Software/SWGfx.cpp
+++ b/Source/Core/VideoBackends/Software/SWGfx.cpp
@@ -35,7 +35,7 @@ bool SWGfx::SupportsUtilityDrawing() const
}
std::unique_ptr<AbstractTexture> SWGfx::CreateTexture(const TextureConfig& config,
- [[maybe_unused]] std::string_view name)
+ std::string_view /* name */)
{
return std::make_unique<SWTexture>(config);
}
@@ -77,16 +77,17 @@ public:
};
std::unique_ptr<AbstractShader>
-SWGfx::CreateShaderFromSource(ShaderStage stage, [[maybe_unused]] std::string_view source,
- [[maybe_unused]] VideoCommon::ShaderIncluder* shader_includer,
- [[maybe_unused]] std::string_view name)
+SWGfx::CreateShaderFromSource(ShaderStage stage, std::string_view /* source */,
+ VideoCommon::ShaderIncluder* /* shader_includer */,
+ std::string_view /* name */)
{
return std::make_unique<SWShader>(stage);
}
-std::unique_ptr<AbstractShader>
-SWGfx::CreateShaderFromBinary(ShaderStage stage, const void* data, size_t length,
- [[maybe_unused]] std::string_view name)
+std::unique_ptr<AbstractShader> SWGfx::CreateShaderFromBinary(ShaderStage stage,
+ const void* /* data */,
+ size_t /* length */,
+ std::string_view /* name */)
{
return std::make_unique<SWShader>(stage);
}