Fix orphan strings in shader preprocessor

This commit is contained in:
Chaosus
2024-11-26 11:59:52 +03:00
parent 9aed9eca40
commit 5a48e527b2
4 changed files with 25 additions and 27 deletions

View File

@ -36,6 +36,7 @@
#include "core/string/ustring.h"
#include "core/templates/list.h"
#include "core/templates/rb_map.h"
#include "core/templates/safe_refcount.h"
#include "core/typedefs.h"
#include "core/variant/variant.h"
#include "scene/resources/shader_include.h"
@ -833,7 +834,7 @@ public:
static bool is_control_flow_keyword(String p_keyword);
static void get_builtin_funcs(List<String> *r_keywords);
static int instance_counter;
static SafeNumeric<int> instance_counter;
struct BuiltInInfo {
DataType type = TYPE_VOID;