Skip to content

Commit

Permalink
Merge pull request thi-ng#239 from stwind/feature/unbind-tex-conf
Browse files Browse the repository at this point in the history
fix(webgl): unbind texture after configured
  • Loading branch information
postspectacular authored Aug 5, 2020
2 parents a8bd0cf + 9612cdd commit 88eec72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/webgl/src/texture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ export class Texture implements ITexture {
);
}

gl.bindTexture(this.target, null);

return true;
}

Expand Down

0 comments on commit 88eec72

Please sign in to comment.