Quick example but it demonstrates the problem perfectly.
With DX7 I get a rotating line at the centre of the screen, and a white square floating across the top.
With DX9 the line isn't drawn, and I only see the lower right tri that makes up half of the rect.
If I uncomment 'SetLineWidth 20', I can see the rotating 'line' again but its a triangle with one point extending from the centre.
With DX7 I get a rotating line at the centre of the screen, and a white square floating across the top.
With DX9 the line isn't drawn, and I only see the lower right tri that makes up half of the rect.
If I uncomment 'SetLineWidth 20', I can see the rotating 'line' again but its a triangle with one point extending from the centre.
Strict Import "Dx9Max2dDriver\Dx9Max2dGraphicsDriver.bmx" SetGraphicsDriver D3D9Max2DDriver() Local lineAngle:Float Local rect:Int Graphics 800,600 'SetLineWidth 20 While Not KeyDown(key_escape) Cls SetColor 255,255,255 lineAngle:+1 DrawLine 400,300,Cos(lineAngle) * 100 + 400, Sin(lineAngle) * 100 + 300 rect:+1 DrawRect rect,0,100,100 Flip Wend