How should I get wider lines?

I develop with VC8.0 in pocket PC, i want to get wider lines using glLinewidth(), but its width is always 1.
And i Get line width range with glGet, the result is [1.0, 1.0]. i am confused.
Is it impossible to draw wider lines on some device?
What should i do to achieve it?
Thank you!

Hi Cumore,

Only a linewidth of 1 is required by the spec. Some implementations support wider and smaller line widths as well, but that’s just optional.

If you need thicker lines you can always emulate it via two triangles.


Hello, Nils.

I got it and I tried like that. I think it is just what i need.

Thank you very much!

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.