From 344aa610e3061c03662bae964575ddc95625564f Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Mon, 26 Sep 2022 15:48:35 +0300 Subject: Add defines to completion list in shaders --- servers/rendering/shader_preprocessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers/rendering/shader_preprocessor.h') diff --git a/servers/rendering/shader_preprocessor.h b/servers/rendering/shader_preprocessor.h index b4e7c7199f..f1b2876891 100644 --- a/servers/rendering/shader_preprocessor.h +++ b/servers/rendering/shader_preprocessor.h @@ -218,7 +218,7 @@ private: public: typedef void (*IncludeCompletionFunction)(List *); - Error preprocess(const String &p_code, const String &p_filename, String &r_result, String *r_error_text = nullptr, List *r_error_position = nullptr, List *r_regions = nullptr, HashSet> *r_includes = nullptr, List *r_completion_options = nullptr, IncludeCompletionFunction p_include_completion_func = nullptr); + Error preprocess(const String &p_code, const String &p_filename, String &r_result, String *r_error_text = nullptr, List *r_error_position = nullptr, List *r_regions = nullptr, HashSet> *r_includes = nullptr, List *r_completion_options = nullptr, List *r_completion_defines = nullptr, IncludeCompletionFunction p_include_completion_func = nullptr); static void get_keyword_list(List *r_keywords, bool p_include_shader_keywords, bool p_ignore_context_keywords = false); static void get_pragma_list(List *r_pragmas); -- cgit v1.2.3