[Servers] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
82f6e9be5e
commit
fdd3d36c6d
48 changed files with 1105 additions and 1105 deletions
|
|
@ -73,7 +73,7 @@ Vector<uint8_t> RenderingDevice::shader_compile_spirv_from_source(ShaderStage p_
|
|||
}
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_V(!compile_to_spirv_function, Vector<uint8_t>());
|
||||
ERR_FAIL_NULL_V(compile_to_spirv_function, Vector<uint8_t>());
|
||||
|
||||
return compile_to_spirv_function(p_stage, p_source_code, p_language, r_error, this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue