Use negative frame index as frame marker to avoid conflict with goog.getUid
This commit is contained in:
@@ -521,7 +521,7 @@ ol.renderer.webgl.Map.prototype.renderFrame = function(frameState) {
|
||||
|
||||
this.focus_ = frameState.focus;
|
||||
|
||||
this.textureCache_.set(frameState.index.toString(), null);
|
||||
this.textureCache_.set((-frameState.index).toString(), null);
|
||||
++this.textureCacheFrameMarkerCount_;
|
||||
|
||||
var layerStates = frameState.layerStates;
|
||||
|
||||
Reference in New Issue
Block a user