make sure we call the sprite load callback

This commit is contained in:
Konstantin Käfer
2014-04-30 12:58:38 +02:00
parent f683cbf02a
commit 74768abeb8
6 changed files with 38 additions and 21 deletions

View File

@@ -542,7 +542,7 @@ void Painter::renderPoint(PointBucket& bucket, const std::string& layer_name, co
#endif
pointShader->setPointTopLeft({{ imagePos.tl.x, imagePos.tl.y }});
pointShader->setPointBottomRight({{ imagePos.br.x, imagePos.br.y }});
if (*sprite->raster) {
if (sprite->raster->isLoaded()) {
sprite->raster->bind(map.getState().isChanging());
}
glDepthRange(strata, 1.0f);