ShaderAsset: Mark ParseShaderProperties() as static

This had no function prototype, so this can be internally linked.

Resolves a -Wmissing-declaration warning.
This commit is contained in:
Lioncash 2023-12-11 17:05:03 -05:00
parent b4b624b97b
commit abb5cc3a3a

View File

@ -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;