Module type for ol.webgl.Context

This commit is contained in:
Frederic Junod
2018-03-23 12:17:42 +01:00
parent 353a3b77b6
commit 5306490733
10 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -181,7 +181,7 @@ WebGLCircleReplay.prototype.finish = function(context) {
WebGLCircleReplay.prototype.getDeleteResourcesFunction = function(context) {
// We only delete our stuff here. The shaders and the program may
// be used by other CircleReplay instances (for other layers). And
// they will be deleted when disposing of the ol.webgl.Context
// they will be deleted when disposing of the module:ol/webgl/Context~WebGLContext
// object.
const verticesBuffer = this.verticesBuffer;
const indicesBuffer = this.indicesBuffer;
@@ -311,7 +311,7 @@ WebGLCircleReplay.prototype.drawHitDetectionReplayOneByOne = function(gl, contex
/**
* @private
* @param {WebGLRenderingContext} gl gl.
* @param {ol.webgl.Context} context Context.
* @param {module:ol/webgl/Context~WebGLContext} context Context.
* @param {Object} skippedFeaturesHash Ids of features to skip.
*/
WebGLCircleReplay.prototype.drawReplaySkipping_ = function(gl, context, skippedFeaturesHash) {