LineBucket: enable Cap modes, fixes #107

This commit is contained in:
Emux
2016-08-07 20:02:51 +03:00
parent 14108fcfe7
commit b58dbc6a16
@@ -678,8 +678,7 @@ public class LineBucket extends RenderBucket {
}
/* Cap mode */
if (lb.scale < 1.5 /* || ll.line.fixed */) {
if (line.width < 1.5/* || line.fixed*/) {
if (capMode != CAP_THIN) {
capMode = CAP_THIN;
gl.uniform1f(uLineMode, capMode);