PDA

View Full Version : draw line, line-size ... opengl 3.3 ?



CarstenT
03-26-2014, 02:51 AM
Hi all,
I cannot seem to find a way to produce a line thicker than one pixel. Is this abillity disabled in the core-forward compabillity-profile of OpenGL 3.3?
The lines I use does not seem to be considered in depth-testing .. what Is drawn last is shown on top?

aqnuep
03-26-2014, 03:34 AM
Forward compatible contexts only allow a line width of 1.
However, core profile does allow wide lines if it's not a forward compatible context.
Note that wide lines have been deprecated, but not removed in core profile.

CarstenT
03-28-2014, 07:19 AM
hi aqnuep, thanks. .. I figured it would be something like that