Skip to content

Commit

Permalink
fix(webgl): unbind texture after configured
Browse files Browse the repository at this point in the history
  • Loading branch information
stwind committed Jul 30, 2020
1 parent 9a23fa2 commit 9612cdd
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 9612cdd

Please sign in to comment.