DGLE-HQ / DGLE

Powerful independent cross-platform engine for 2D/3D games and visualizations. Young, strong and crazy!
http://dgle.dronprogs.org
GNU Lesser General Public License v3.0
162 stars 39 forks source link

Add ability for CoreRenderer realization not to support lines with width >1 and smothness. #224

Open megaDRONe86 opened 9 years ago

megaDRONe86 commented 9 years ago

ICoreRenderer should have such feature and engine should handle it properly. May be emulating lines if nescecarry thriugh putpixel routine.

megaDRONe86 commented 9 years ago

glGet()with params GL_ALIASED_LINE_WIDTH_RANGE, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_LINE_WIDTH_GRANULARITY glLineWidth() Only width 1 is guaranteed to be supported; others depend on the implementation.