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 9
9
10
10
namespace nbl ::asset
11
11
{
12
-
13
-
14
12
// ! Sometimes an asset is too complex or big to be hashed, so we need a hash to be set explicitly.
15
13
// ! Meant to be inherited from in conjunction with `IAsset`
16
14
class IPreHashed : public IAsset
17
15
{
18
16
public:
19
17
constexpr static inline core::blake3_hash_t INVALID_HASH = {};
20
-
21
18
//
22
19
inline const core::blake3_hash_t & getContentHash () const {return m_contentHash;}
23
20
//
Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ class IImageAssetHandlerBase : public virtual core::IReferenceCounted
111
111
}
112
112
113
113
auto texelBuffer = core::make_smart_refctd_ptr<ICPUBuffer>(bufferSize);
114
-
115
114
newImage->setBufferAndRegions (std::move (texelBuffer), newRegions);
116
115
newImage->setContentHash (IPreHashed::INVALID_HASH);
117
116
}
You can’t perform that action at this time.
0 commit comments