Fix black canvas when image is missing

This commit is contained in:
GaborFarkas
2016-07-01 14:10:09 +02:00
parent 2415050500
commit c966e21e40

View File

@@ -171,7 +171,7 @@ ol.renderer.webgl.ImageLayer.prototype.prepareFrame = function(frameState, layer
this.updateLogos(frameState, imageSource);
}
return true;
return !!image;
};