You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Change Array arguments to TypedArray
This commit is contained in:
@@ -235,7 +235,7 @@ RID RenderingDevice::_shader_create_from_spirv(const Ref<RDShaderSPIRV> &p_spirv
|
||||
return shader_create_from_spirv(stage_data);
|
||||
}
|
||||
|
||||
RID RenderingDevice::_uniform_set_create(const Array &p_uniforms, RID p_shader, uint32_t p_shader_set) {
|
||||
RID RenderingDevice::_uniform_set_create(const TypedArray<RDUniform> &p_uniforms, RID p_shader, uint32_t p_shader_set) {
|
||||
Vector<Uniform> uniforms;
|
||||
uniforms.resize(p_uniforms.size());
|
||||
for (int i = 0; i < p_uniforms.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user