Add missing call to flush in webgl map renderer
This commit is contained in:
@@ -74,8 +74,6 @@ map.on('postcompose', function(event) {
|
|||||||
vectorContext.setImageStyle(headOuterImageStyle);
|
vectorContext.setImageStyle(headOuterImageStyle);
|
||||||
vectorContext.drawMultiPointGeometry(headPoint, null);
|
vectorContext.drawMultiPointGeometry(headPoint, null);
|
||||||
|
|
||||||
vectorContext.flush();
|
|
||||||
|
|
||||||
map.render();
|
map.render();
|
||||||
});
|
});
|
||||||
map.render();
|
map.render();
|
||||||
|
|||||||
@@ -302,6 +302,8 @@ ol.renderer.webgl.Map.prototype.dispatchComposeEvent_ =
|
|||||||
replayGroup.replay(context, center, resolution, rotation, size, extent,
|
replayGroup.replay(context, center, resolution, rotation, size, extent,
|
||||||
pixelRatio, opacity, brightness, contrast, hue, saturation, {});
|
pixelRatio, opacity, brightness, contrast, hue, saturation, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vectorContext.flush();
|
||||||
this.replayGroup = replayGroup;
|
this.replayGroup = replayGroup;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user