PDA

View Full Version : A glLineWidth problem.



martinjy
05-11-2001, 07:54 AM
Hey.
Why doesn't the glLineWidth procedure work on my lines? It does nothing but leaves the line-width to 1 pixel (I think), even though I type everything else.

Anybody?

zed
05-11-2001, 02:04 PM
what card are u using
check here http://www.gamedeveloper.org/delphi3d/hardware/ for valid line widths for your card

xcat_2000
05-14-2001, 10:57 AM
did you embed the glLineWidth procedure call
in glBegin() and glEnd(), if so, surely it
won't work

martinjy
05-15-2001, 04:19 AM
Well, suddenly it started working! I don't know why at all. But, there is now another problem: if i rotate the thick lines, they are drawn as parallelograms and not regular rectangles. Why? it looks stupid!

anybody?