File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 99
1010namespace nbl ::asset
1111{
12-
13-
1412// ! Sometimes an asset is too complex or big to be hashed, so we need a hash to be set explicitly.
1513// ! Meant to be inherited from in conjunction with `IAsset`
1614class IPreHashed : public IAsset
1715{
1816 public:
1917 constexpr static inline core::blake3_hash_t INVALID_HASH = {};
20-
2118 //
2219 inline const core::blake3_hash_t & getContentHash () const {return m_contentHash;}
2320 //
Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ class IImageAssetHandlerBase : public virtual core::IReferenceCounted
111111 }
112112
113113 auto texelBuffer = core::make_smart_refctd_ptr<ICPUBuffer>(bufferSize);
114-
115114 newImage->setBufferAndRegions (std::move (texelBuffer), newRegions);
116115 newImage->setContentHash (IPreHashed::INVALID_HASH);
117116 }
You can’t perform that action at this time.
0 commit comments