From 9612cdd86130ccb780eeda2971e780f0c8dc2b52 Mon Sep 17 00:00:00 2001 From: stwind Date: Fri, 31 Jul 2020 02:21:32 +0800 Subject: [PATCH] fix(webgl): unbind texture after configured --- packages/webgl/src/texture.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/webgl/src/texture.ts b/packages/webgl/src/texture.ts index 833fb4851a..3dd864bfe9 100644 --- a/packages/webgl/src/texture.ts +++ b/packages/webgl/src/texture.ts @@ -219,6 +219,8 @@ export class Texture implements ITexture { ); } + gl.bindTexture(this.target, null); + return true; }