Skip to content

Commit 5d3e587

Browse files
dont cancel the futurs
1 parent 6b33b97 commit 5d3e587

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/nbl/asset/utils/CHLSLCompiler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ std::string CHLSLCompiler::preprocessShader(std::string&& code, IShader::E_SHADE
322322
{
323323
system::IFile::success_t succ;
324324
(*file)->write(succ,resolvedString.data(),0,resolvedString.size()+1);
325+
succ.getBytesProcessed(true);
325326
}
326327
}
327328

src/nbl/video/CVulkanLogicalDevice.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ class CVulkanLogicalDevice final : public ILogicalDevice
743743
{
744744
system::IFile::success_t succ;
745745
(*file)->write(succ,vk_createInfo.pCode,0,vk_createInfo.codeSize);
746+
succ.getBytesProcessed(true);
746747
}
747748
}
748749

0 commit comments

Comments
 (0)