buildaworldnet / IrrlichtBAW

Build A World fork of Irrlicht
http://www.buildaworld.net
Apache License 2.0
122 stars 28 forks source link

Un-fcked up tonemapper example #551

Closed Hazardu closed 3 years ago

Hazardu commented 3 years ago

Except the fact that https://github.com/buildaworldnet/IrrlichtBAW/blob/shader_pipeline/examples_tests/39.DenoiserTonemapper/main.cpp#L933 throws an exception

Error   C2664   'unsigned int irr::video::SubAllocatedDataBuffer<irr::core::HeterogenousMemoryAddressAllocatorAdaptor<irr::core::GeneralpurposeAddressAllocator<uint32_t,irr::core::impl::GeneralpurposeAddressAllocatorStrategy<_size_type,false>>,irr::video::StreamingGPUBufferAllocator,CPUAllocator>,CustomDeferredFreeFunctor>::multi_alloc<_Ty,unsigned int*,const unsigned int*,const unsigned int*>(uint32_t,_Ty &&,unsigned int *&&,const unsigned int *&&,const unsigned int *&&) noexcept': cannot convert argument 1 from '_Ty' to 'uint32_t'  denoisertonemapper  C:\IrrlichtBAW\include\irr\video\alloc\StreamingTransientDataBuffer.h   68