Skip to content

Commit

Permalink
WebGPURenderer: Add note about swap chain format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Sep 20, 2020
1 parent d4a3e62 commit fbea62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/renderers/webgpu/WebGPURenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class WebGPURenderer {

const swapChain = context.configureSwapChain( {
device: device,
format: GPUTextureFormat.BRGA8Unorm
format: GPUTextureFormat.BRGA8Unorm // this is the only valid swap chain format right now (r121)
} );

this._adapter = adapter;
Expand Down

0 comments on commit fbea62b

Please sign in to comment.