Merge pull request #649 from twpayne/fix-canvas-tiles-webgl
Use negative frame index as frame marker
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