mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +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
|
namespace VideoCommon
|
||||||
{
|
{
|
||||||
bool ParseShaderProperties(const VideoCommon::CustomAssetLibrary::AssetID& asset_id,
|
static bool ParseShaderProperties(const CustomAssetLibrary::AssetID& asset_id,
|
||||||
const picojson::array& properties_data,
|
const picojson::array& properties_data,
|
||||||
std::map<std::string, VideoCommon::ShaderProperty>* shader_properties)
|
std::map<std::string, ShaderProperty>* shader_properties)
|
||||||
{
|
{
|
||||||
if (!shader_properties) [[unlikely]]
|
if (!shader_properties) [[unlikely]]
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user