1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #98760 from ze2j/optimize_texture_create_shared_from_slice

Optimize shared texture creations
This commit is contained in:
Thaddeus Crews
2025-04-18 12:21:25 -05:00
2 changed files with 16 additions and 9 deletions

View File

@@ -321,7 +321,7 @@ public:
RID owner;
RDG::ResourceTracker *draw_tracker = nullptr;
HashMap<Rect2i, RDG::ResourceTracker *> slice_trackers;
HashMap<Rect2i, RDG::ResourceTracker *> *slice_trackers = nullptr;
SharedFallback *shared_fallback = nullptr;
int32_t transfer_worker_index = -1;
uint64_t transfer_worker_operation = 0;