Skip to content

Commit

Permalink
WebGPURenderer: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Sep 6, 2020
1 parent 1e36728 commit 3fd2561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/jsm/renderers/webgpu/WebGPURenderPipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ class WebGPURenderPipelines {
this.bindings = bindings;

this.pipelines = new WeakMap();
this.shaderAttributes = new WeakMap();
this.shaderModules = {
vertex: new WeakMap(),
fragment: new WeakMap()
};

this.shaderAttributes = new WeakMap();

}

Expand Down Expand Up @@ -166,6 +166,7 @@ class WebGPURenderPipelines {
dispose() {

this.pipelines = new WeakMap();
this.shaderAttributes = new WeakMap();
this.shaderModules = {
vertex: new WeakMap(),
fragment: new WeakMap()
Expand Down

0 comments on commit 3fd2561

Please sign in to comment.