mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Swap arguments of ResourceSaver.save()
This commit is contained in:
@@ -251,7 +251,7 @@ String ResourceFormatLoaderShader::get_resource_type(const String &p_path) const
|
||||
return "";
|
||||
}
|
||||
|
||||
Error ResourceFormatSaverShader::save(const String &p_path, const Ref<Resource> &p_resource, uint32_t p_flags) {
|
||||
Error ResourceFormatSaverShader::save(const Ref<Resource> &p_resource, const String &p_path, uint32_t p_flags) {
|
||||
Ref<Shader> shader = p_resource;
|
||||
ERR_FAIL_COND_V(shader.is_null(), ERR_INVALID_PARAMETER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user