setlinewidth and glmax2d

BlitzMax Forums/BlitzMax Programming/setlinewidth and glmax2d

using the d3d7max2ddriver, setlinewidth works, however using glmax2ddriver it doesn't. i'm sending the function float data. can anyone else confirm this?

Cheers
Charlie

Yes using the following code which I'm surprised you didn't post as it would make it so much more likely that somebody will respond.
SetGraphicsDriver GLMax2DDriver()
Graphics 640,480

HideMouse 

While Not KeyHit(KEY_ESCAPE)
	Cls
	x=MouseX()
	y=MouseY()
	SetLineWidth(30)
	DrawLine 320,240,x,y
	Flip
Wend

p.s. on my system it seems to be a max line width of 10.0 for OGL driver

d3d7Max2d actually draws a quad when linewidth > 1, it's done by max2ddriver; glMax2d just call glLineWidth and the rest is done by GL driver.

So I guess maybe it's some problem of your GL driver.