You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Direct3D 12: Enhance management of texture data life cycle
This commit is contained in:
@@ -106,7 +106,7 @@ struct VersatileResourceTemplate {
|
||||
template <class T>
|
||||
static T *allocate(PagedAllocator<VersatileResourceTemplate> &p_allocator) {
|
||||
T *obj = (T *)p_allocator.alloc();
|
||||
*obj = T();
|
||||
memnew_placement(obj, T);
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user