summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-12-11 17:05:03 -0500
committerLioncash <mai.iam2048@gmail.com>2023-12-11 17:05:06 -0500
commitabb5cc3a3af33954106e81eddcf8c136bbbd4079 (patch)
treefb726d101f5e737a22b66c45aaec816bc84a9664 /Source/Core/VideoCommon
parentb4b624b97b42a7bd60d4156becec128a22f7d0e8 (diff)
ShaderAsset: Mark ParseShaderProperties() as static
This had no function prototype, so this can be internally linked. Resolves a -Wmissing-declaration warning.
Diffstat (limited to 'Source/Core/VideoCommon')
-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;