Skip to content

Commit

Permalink
fix rotate antialiasing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jul 7, 2014
1 parent 5bb6909 commit 72e0cd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/render/drawsymbol.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ function drawSymbol(gl, painter, bucket, layerStyle, posMatrix, params, imageSpr
buffer = bucket.buffers.glyphVertex;
texsize = [painter.glyphAtlas.width, painter.glyphAtlas.height];
} else {
var rotate = info[prefix + '-rotation-alignment'] === 'map';
imageSprite.bind(gl, rotate || params.rotating || params.zooming);
imageSprite.bind(gl, angleOffset || params.rotating || params.zooming);
buffer = bucket.buffers.iconVertex;
texsize = [imageSprite.img.width, imageSprite.img.height];
}
Expand Down

0 comments on commit 72e0cd0

Please sign in to comment.