mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00: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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue