From f4db4bb7a24535596e96f66afe44ddb10480ab6f Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Sun, 9 Oct 2022 08:14:07 +0300 Subject: Fix incorrect setup of boolean uniform instances --- servers/rendering/storage/material_storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers/rendering/storage') diff --git a/servers/rendering/storage/material_storage.h b/servers/rendering/storage/material_storage.h index 396668c9ed..a3de6343e5 100644 --- a/servers/rendering/storage/material_storage.h +++ b/servers/rendering/storage/material_storage.h @@ -53,7 +53,7 @@ public: virtual int32_t global_shader_parameters_instance_allocate(RID p_instance) = 0; virtual void global_shader_parameters_instance_free(RID p_instance) = 0; - virtual void global_shader_parameters_instance_update(RID p_instance, int p_index, const Variant &p_value) = 0; + virtual void global_shader_parameters_instance_update(RID p_instance, int p_index, const Variant &p_value, int p_flags_count = 0) = 0; /* SHADER API */ virtual RID shader_allocate() = 0; -- cgit v1.2.3