Skip to content

Commit

Permalink
fix: Fix textureHandle accessor
Browse files Browse the repository at this point in the history
This was introduced when vgl was merged.
  • Loading branch information
manthey committed Jan 25, 2024
1 parent 870f3c9 commit aaa14bf
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 aaa14bf

Please sign in to comment.