Use negative frame index as frame marker to avoid conflict with goog.getUid

This commit is contained in:
Tom Payne
2013-04-23 15:14:54 +02:00
parent b2987d3054
commit a85363ac03

View File

@@ -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;