Fix ol.webgl.MapRenderer.prototype.isImageTextureLoaded

This commit is contained in:
Tom Payne
2012-08-21 17:56:57 +02:00
parent bc22fd9ae4
commit f02a0d0471

View File

@@ -517,7 +517,7 @@ ol.webgl.MapRenderer.prototype.initializeGL_ = function() {
* @return {boolean} Is image texture loaded.
*/
ol.webgl.MapRenderer.prototype.isImageTextureLoaded = function(image) {
return image.src in this.textureCache_[image.src];
return image.src in this.textureCache_;
};