Drawing commands aren't working right

BlitzMax Forums/BlitzMax Programming/Drawing commands aren't working right

Curtastic(Posted 2006) [#1]
Hi I'm getting some weird dots. Some white and some blue. I have no idea why. If its not happening for anyone else I have a screenshot.

Strict
SeedRnd MilliSecs()
Graphics 800,600


Local x#,y#,angle#
x=200
y=200
angle=104
For Local nothing=1 To 1000
	x:+Cos(angle)/3
	y:+Sin(angle)/3
	
	SetColor 0,255,0
	DrawLine x,y,x+10,y+10
	Plot x,y
Next

Flip
WaitKey
End



FlameDuck(Posted 2006) [#2]
I just get the green lines.


Curtastic(Posted 2006) [#3]
ok I'm using, the newest blitzmax on some sort of laptop.



N(Posted 2006) [#4]
1) Works fine here.
Specs: AMD64 3000+, X800 XT 256mb, 1gb RAM, Realtek 7.1 onboard audio

2) Get the laptop specifications (frankly, considering you're a programmer, you should have known better and posted them first thing since they're critical to this sort of thing).


Curtastic(Posted 2006) [#5]
ok, I think I got it all. I put it in my sig.


Dreamora(Posted 2006) [#6]
Are you on Windows or Linux. (It works for me without any problems and I'm on a Radeon 9700 mobile on WinXP Pro SP2 with Catalyst Mobile 6.5 from http://www.computerbase.de/downloads/treiber/grafikkarten/ati/ati_mobile_catalyst/ )


Curtastic(Posted 2006) [#7]
k I'm on XP.

I think I got a graphics card update, maybe a year ago.

I remember this problem didn't happen on some old version of blitzmax.


N(Posted 2006) [#8]
Have you tried using the GL driver instead of the D3D7 driver (I think that's the default)?


Grisu(Posted 2006) [#9]
Works fine here.

It's definately your gfx card.

1. Update to directx9.0c (april)
2. Update your drivers!


joncom2000(Posted 2006) [#10]
I would go with Noel's suggestion, I have a Laptop with a radeon chip and it sucks at DX stuff but change bmax to GL and it runs fine.


Curtastic(Posted 2006) [#11]
It works fine with opengl, I guess I'll use that, thanks.