From aaa14bf1068f2fe04b6193cbbfa901f49c4250aa Mon Sep 17 00:00:00 2001 From: David Manthey Date: Thu, 25 Jan 2024 08:40:28 -0500 Subject: [PATCH] fix: Fix textureHandle accessor This was introduced when vgl was merged. --- src/vgl/texture.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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; };