You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Make RID_Owner<Texture> threadsafe in TextureStorage for gles3
This commit is contained in:
@@ -172,7 +172,7 @@ private:
|
||||
void cleanup();
|
||||
};
|
||||
|
||||
//textures can be created from threads, so this RID_Owner is thread safe
|
||||
// Textures can be created from threads, so this RID_Owner is thread safe.
|
||||
mutable RID_Owner<Texture, true> texture_owner;
|
||||
Texture *get_texture(RID p_rid) { return texture_owner.get_or_null(p_rid); };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user