ol/webgl exports

This commit is contained in:
raiyni
2018-02-15 21:39:53 -06:00
parent 3d4883f332
commit 1674eba2cd
14 changed files with 133 additions and 130 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
* @module ol/webgl/Fragment
*/
import {inherits} from '../index.js';
import _ol_webgl_ from '../webgl.js';
import {FRAGMENT_SHADER} from '../webgl.js';
import WebGLShader from '../webgl/Shader.js';
/**
@@ -22,6 +22,6 @@ inherits(WebGLFragment, WebGLShader);
* @inheritDoc
*/
WebGLFragment.prototype.getType = function() {
return _ol_webgl_.FRAGMENT_SHADER;
return FRAGMENT_SHADER;
};
export default WebGLFragment;