Rename _ol_webgl_Fragment_ to WebGLFragment

This commit is contained in:
Frederic Junod
2018-02-09 09:21:58 +01:00
parent 2b6a3aacef
commit 96eba2bddf
8 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -11,17 +11,17 @@ import WebGLShader from '../webgl/Shader.js';
* @param {string} source Source.
* @struct
*/
const _ol_webgl_Fragment_ = function(source) {
const WebGLFragment = function(source) {
WebGLShader.call(this, source);
};
inherits(_ol_webgl_Fragment_, WebGLShader);
inherits(WebGLFragment, WebGLShader);
/**
* @inheritDoc
*/
_ol_webgl_Fragment_.prototype.getType = function() {
WebGLFragment.prototype.getType = function() {
return _ol_webgl_.FRAGMENT_SHADER;
};
export default _ol_webgl_Fragment_;
export default WebGLFragment;