Use bracket notation instead of goog.object.set
This commit is contained in:
@@ -465,7 +465,7 @@ ol.render.webgl.ImageReplay.prototype.finish = function(context) {
|
||||
goog.webgl.TEXTURE_MAG_FILTER, goog.webgl.LINEAR);
|
||||
gl.texImage2D(goog.webgl.TEXTURE_2D, 0, goog.webgl.RGBA, goog.webgl.RGBA,
|
||||
goog.webgl.UNSIGNED_BYTE, image);
|
||||
goog.object.set(texturePerImage, uid, texture);
|
||||
texturePerImage[uid] = texture;
|
||||
}
|
||||
this.textures_[i] = texture;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user