[Documentation] Just a lacking round bracket
opened this issue · comments
Hi!
I found a minuscule problem in the Wiki~
Page: https://github.com/microsoft/DirectXTK/wiki/Simple-rendering#drawing-a-triangle
Location: Code under Optional: You can simplify the last part using DirectXHelpers:
DX::ThrowIfFailed(
CreateInputLayoutFromEffect<VertexType>(m_d3dDevice.Get(), m_effect.get(),
m_inputLayout.ReleaseAndGetAddressOf()
); // <- [Problem location]
Just needs an extra round bracket to close DX::ThrowIfFailed!
Thanks for your attention!
Thanks for the report. Fixed.