Merge branch 'master' into bigbackbuffer

This commit is contained in:
Éric Lemoine
2011-10-16 15:55:13 +02:00
2 changed files with 2 additions and 3 deletions

View File

@@ -62,8 +62,7 @@ OpenLayers.Tile.BackBufferable = OpenLayers.Class(OpenLayers.Tile, {
* {Boolean} Was a tile drawn?
*/
draw: function() {
var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments),
backBufferMode = this.backBufferMode;
var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments);
if (draw) {
this.updateBackBuffer();
}