Skip to content

Commit

Permalink
fix option names
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-duncan committed Oct 20, 2021
1 parent 8f0ecc9 commit a6bca5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webgpu_recorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ class WebGPURecorder {
constructor(options) {
options = options || {};
this.config = {
maxFrameCount: options.maxFrameCount || 100,
exportName: options.exportName || "WebGPURecord",
canvasWidth: options.canvasWidth || 800,
canvasHeight: options.canvasHeight || 600
maxFrameCount: options.frames || 100,
exportName: options.export || "WebGPURecord",
canvasWidth: options.width || 800,
canvasHeight: options.height || 600
};

this._objectIndex = 1;
Expand Down

0 comments on commit a6bca5f

Please sign in to comment.