You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix shader preprocessor memory leak
This commit is contained in:
@@ -167,7 +167,6 @@ private:
|
||||
private:
|
||||
LocalVector<char32_t> output;
|
||||
State *state = nullptr;
|
||||
bool state_owner = false;
|
||||
|
||||
private:
|
||||
static bool is_char_word(char32_t p_char);
|
||||
@@ -211,7 +210,7 @@ private:
|
||||
|
||||
static Define *create_define(const String &p_body);
|
||||
|
||||
void clear();
|
||||
void clear_state();
|
||||
|
||||
Error preprocess(State *p_state, const String &p_code, String &r_result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user