Reputation: 21
Using OpenGL and C++, I can draw a shape but I want to make the line of the shape thicker. How to do this?
Upvotes: 2
Views: 2882
Reputation: 2446
glLineWidth(n);
is the function but sometimes it will have no effect because of the hardware acceleration. Use software rendering first.
Upvotes: 1
Reputation: 46051
Have a look at glLineWidth(..)
http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml
Upvotes: 4