diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-23 09:38:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-23 09:38:07 +0200 |
commit | 7c225f5bfe1f514d1998bf13f72fc1b0ec162ff6 (patch) | |
tree | c1b6dcbe8301cb5d1cc081ef6f5ef497bca6f774 /servers/rendering/shader_preprocessor.h | |
parent | fe929d4787b2b11390891fb03da1dda78b18eb65 (diff) | |
parent | 6d992abb541d4e772ef1fbc16d0b82ca3a6b343d (diff) |
Merge pull request #63338 from Chaosus/fix_shader_preprocessor_errors
Fix some errors after shader preprocessor PR
Diffstat (limited to 'servers/rendering/shader_preprocessor.h')
-rw-r--r-- | servers/rendering/shader_preprocessor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/servers/rendering/shader_preprocessor.h b/servers/rendering/shader_preprocessor.h index 9bac706049..a93fb680dd 100644 --- a/servers/rendering/shader_preprocessor.h +++ b/servers/rendering/shader_preprocessor.h @@ -136,7 +136,6 @@ private: int include_depth = 0; String current_include; String current_shader_type; - int shader_type_pos = -1; String error; List<FilePosition> include_positions; RBMap<String, Vector<SkippedCondition *>> skipped_conditions; @@ -179,7 +178,6 @@ private: String next_directive(Tokenizer *p_tokenizer, const Vector<String> &p_directives); void add_to_output(const String &p_str); void set_error(const String &p_error, int p_line); - bool check_directive_before_type(Tokenizer *p_tokenizer, const String &p_directive); static Define *create_define(const String &p_body); |