fix: Wrong Instanced call used for DrawInstanced in CommandList.Direct3D.cs (#2482)
CommandList.DrawInstanced(Buffer argumentsBuffer, int alignedByteOffsetForArgs = 0) NativeDeviceContext was DrawIndexedInstancedIndirect but should be DrawInstancedIndirect
This commit is contained in:
Родитель
2af6925a59
Коммит
4c46fdcc4d
|
@ -526,7 +526,7 @@ namespace Stride.Graphics
|
|||
|
||||
PrepareDraw();
|
||||
|
||||
NativeDeviceContext.DrawIndexedInstancedIndirect(argumentsBuffer.NativeBuffer, alignedByteOffsetForArgs);
|
||||
NativeDeviceContext.DrawInstancedIndirect(argumentsBuffer.NativeBuffer, alignedByteOffsetForArgs);
|
||||
|
||||
GraphicsDevice.FrameDrawCalls++;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче