make icons work again

This commit is contained in:
Konstantin Käfer
2014-07-15 17:17:37 -07:00
parent c2efeaf876
commit 066fa64dad
2 changed files with 4 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ void Painter::renderIcon(IconBucket& bucket, std::shared_ptr<StyleLayer> layer_d
useProgram(iconShader->program);
iconShader->setMatrix(matrix);
// TODO: update
// iconShader->setColor(color);
iconShader->setColor({{ 1, 1, 1, 1 }});
iconShader->setImage(0);
iconShader->setRatio(map.getState().getPixelRatio());
iconShader->setDimension({{