[C++] DirectX: Drawing screen space lines in DirectX 11
Use D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP or D3D11_PRIMITIVE_TOPOLOGY_LINELIST!
deviceContext->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP);
or
deviceContext->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_LINELIST);