summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Assets/ShaderAsset.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-12-11 23:39:23 +0100
committerGitHub <noreply@github.com>2023-12-11 23:39:23 +0100
commit4f02f526b8469bf9a8f1c5dfcc433c07d76c2594 (patch)
tree3936347517024f60e0932b13eeb7e5fe119eb69c /Source/Core/VideoCommon/Assets/ShaderAsset.cpp
parent54301d709a385661e76c1c2c5fe09df68be3fb1f (diff)
parente8b479627375429accaa24311cea764ad8261f52 (diff)
Merge pull request #12392 from lioncash/decl
General: Resolve -Wmissing-declaration warnings
Diffstat (limited to 'Source/Core/VideoCommon/Assets/ShaderAsset.cpp')
-rw-r--r--Source/Core/VideoCommon/Assets/ShaderAsset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp
index e58b9bfbb6..9a31421334 100644
--- a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp
+++ b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp
@@ -14,9 +14,9 @@
namespace VideoCommon
{
-bool ParseShaderProperties(const VideoCommon::CustomAssetLibrary::AssetID& asset_id,
- const picojson::array& properties_data,
- std::map<std::string, VideoCommon::ShaderProperty>* shader_properties)
+static bool ParseShaderProperties(const CustomAssetLibrary::AssetID& asset_id,
+ const picojson::array& properties_data,
+ std::map<std::string, ShaderProperty>* shader_properties)
{
if (!shader_properties) [[unlikely]]
return false;