Yeah I messed up on the logic for my draw line.
Originally Posted by whatup777
This should work instead..
That would draw a line horizontally in the middle of the screen.
//Do this once
//Then to draw :
FillRGB(((int)oViewport.Width / 2) - 10, ((int)oViewport.Height / 2) - 1, 20, 3, D3DCOLOR_XRGB(255, 0, 0), pDevice);