diff --git a/WickedEngine/wiGraphicsDevice_DX12.cpp b/WickedEngine/wiGraphicsDevice_DX12.cpp index cd3311943..3de17036e 100644 --- a/WickedEngine/wiGraphicsDevice_DX12.cpp +++ b/WickedEngine/wiGraphicsDevice_DX12.cpp @@ -6556,7 +6556,7 @@ using namespace dx12_internal; auto args_internal = to_internal(args); auto count_internal = to_internal(count); CommandList_DX12& commandlist = GetCommandList(cmd); - commandlist.GetGraphicsCommandList()->ExecuteIndirect(dispatchMeshIndirectCommandSignature.Get(), 1, args_internal->resource.Get(), args_offset, count_internal->resource.Get(), count_offset); + commandlist.GetGraphicsCommandList()->ExecuteIndirect(dispatchMeshIndirectCommandSignature.Get(), max_count, args_internal->resource.Get(), args_offset, count_internal->resource.Get(), count_offset); } void GraphicsDevice_DX12::CopyResource(const GPUResource* pDst, const GPUResource* pSrc, CommandList cmd) { diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index f50c043b3..023e0a6d7 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 = 71; // minor bug fixes, alterations, refactors, updates - const int revision = 239; + const int revision = 240; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);