diff --git a/src/vgl/texture.js b/src/vgl/texture.js index c7296f4391..c9b48bcaa8 100644 --- a/src/vgl/texture.js +++ b/src/vgl/texture.js @@ -230,6 +230,15 @@ vgl.texture = function () { } }; + /** + * Return the texture handle. + * + * @returns {number} + */ + this.textureHandle = function () { + return this.m_textureHandle; + }; + return this; }; @@ -349,15 +358,6 @@ vgl.lookupTable = function () { return true; }; - /** - * Return the texture handle. - * - * @returns {number} - */ - this.textureHandle = function () { - return this.m_textureHandle; - }; - return this; };