LineBucket: enable Cap modes, fixes #107

This commit is contained in:
Emux 2016-08-05 19:32:35 +03:00
parent 14108fcfe7
commit b58dbc6a16

View File

@ -678,8 +678,7 @@ public class LineBucket extends RenderBucket {
} }
/* Cap mode */ /* Cap mode */
if (lb.scale < 1.5 /* || ll.line.fixed */) { if (line.width < 1.5/* || line.fixed*/) {
if (capMode != CAP_THIN) { if (capMode != CAP_THIN) {
capMode = CAP_THIN; capMode = CAP_THIN;
gl.uniform1f(uLineMode, capMode); gl.uniform1f(uLineMode, capMode);