diff --git a/WickedEngine/wiGraphicsDevice_Metal.h b/WickedEngine/wiGraphicsDevice_Metal.h index 423c2c904..4dacb4c5a 100644 --- a/WickedEngine/wiGraphicsDevice_Metal.h +++ b/WickedEngine/wiGraphicsDevice_Metal.h @@ -499,23 +499,7 @@ namespace wi::graphics } NS::SharedPtr residency_set; - void make_resident(const MTL::Texture* allocation) - { - if (allocation == nullptr) - return; - if (allocation->isSparse()) - return; - std::scoped_lock locker(destroylocker); - residency_set->addAllocation(allocation); - } - void make_resident(const MTL::Buffer* allocation) - { - if (allocation == nullptr) - return; - std::scoped_lock locker(destroylocker); - residency_set->addAllocation(allocation); - } - void make_resident(const MTL::AccelerationStructure* allocation) + void make_resident(const MTL::Resource* allocation) { if (allocation == nullptr) return; diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index 256e71dcf..a6eccefe4 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wi::version // minor features, major updates, breaking compatibility changes const int minor = 72; // minor bug fixes, alterations, refactors, updates - const int revision = 6; + const int revision = 7; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);