Module type for ol.webgl.Buffer

This commit is contained in:
Frederic Junod
2018-03-23 12:16:04 +01:00
parent 731c2eddae
commit 353a3b77b6
5 changed files with 7 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ inherits(WebGLContext, Disposable);
* the WebGL buffer, bind it, populate it, and add an entry to
* the cache.
* @param {number} target Target.
* @param {ol.webgl.Buffer} buf Buffer.
* @param {module:ol/webgl/Buffer~WebGLBuffer} buf Buffer.
*/
WebGLContext.prototype.bindBuffer = function(target, buf) {
const gl = this.getGL();
@@ -128,7 +128,7 @@ WebGLContext.prototype.bindBuffer = function(target, buf) {
/**
* @param {ol.webgl.Buffer} buf Buffer.
* @param {module:ol/webgl/Buffer~WebGLBuffer} buf Buffer.
*/
WebGLContext.prototype.deleteBuffer = function(buf) {
const gl = this.getGL();