Skip to content

Commit

Permalink
Merge pull request #1308 from OpenGeoscience/fix-texture-handle
Browse files Browse the repository at this point in the history
fix: Fix textureHandle accessor
  • Loading branch information
manthey authored Jan 25, 2024
2 parents 870f3c9 + aaa14bf commit c1123d9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/vgl/texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,15 @@ vgl.texture = function () {
}
};

/**
* Return the texture handle.
*
* @returns {number}
*/
this.textureHandle = function () {
return this.m_textureHandle;
};

return this;
};

Expand Down Expand Up @@ -349,15 +358,6 @@ vgl.lookupTable = function () {
return true;
};

/**
* Return the texture handle.
*
* @returns {number}
*/
this.textureHandle = function () {
return this.m_textureHandle;
};

return this;
};

Expand Down

0 comments on commit c1123d9

Please sign in to comment.