You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #111810 from timothyqiu/ts-null-data
Fix crash when operating on newly created font RIDs
This commit is contained in:
@@ -379,7 +379,7 @@ class TextServerAdvanced : public TextServerExtension {
|
||||
HashMap<String, bool> script_support_overrides;
|
||||
|
||||
PackedByteArray data;
|
||||
const uint8_t *data_ptr;
|
||||
const uint8_t *data_ptr = nullptr;
|
||||
size_t data_size;
|
||||
int face_index = 0;
|
||||
|
||||
|
||||
@@ -306,7 +306,7 @@ class TextServerFallback : public TextServerExtension {
|
||||
HashMap<String, bool> script_support_overrides;
|
||||
|
||||
PackedByteArray data;
|
||||
const uint8_t *data_ptr;
|
||||
const uint8_t *data_ptr = nullptr;
|
||||
size_t data_size;
|
||||
int face_index = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user