mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
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:
parent
b4b624b97b
commit
abb5cc3a3a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user