Remove closePath() where clip() is used

clip() does an implicit closePath(), see
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Compositing#Clipping_paths
This commit is contained in:
Andreas Hocevar
2016-08-11 13:27:28 +02:00
parent 370c0c0846
commit 9d80116bf0
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -224,7 +224,6 @@ ol.reproj.render = function(width, height, pixelRatio,
context.lineTo(u1, v1);
context.lineTo(u2, v2);
}
context.closePath();
context.clip();
context.transform(