Webgl Layer and Context named exports

This commit is contained in:
Florent gravin
2018-02-15 13:38:03 +01:00
parent 0ec4f30aa9
commit 8eef99ad04
2 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ import _ol_transform_ from '../../transform.js';
import {create, fromTransform} from '../../vec/mat4.js';
import _ol_webgl_ from '../../webgl.js';
import WebGLBuffer from '../../webgl/Buffer.js';
import WebGLContext from '../../webgl/Context.js';
import {createEmptyTexture} from '../../webgl/Context.js';
/**
* @constructor
@@ -116,7 +116,7 @@ WebGLLayerRenderer.prototype.bindFramebuffer = function(frameState, framebufferD
/** @type {ol.PostRenderFunction} */ (postRenderFunction)
);
const texture = WebGLContext.createEmptyTexture(
const texture = createEmptyTexture(
gl, framebufferDimension, framebufferDimension);
const framebuffer = gl.createFramebuffer();