Skip to content

Commit fbea62b

Browse files
committed
WebGPURenderer: Add note about swap chain format.
1 parent d4a3e62 commit fbea62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/renderers/webgpu/WebGPURenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class WebGPURenderer {
159159

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

165165
this._adapter = adapter;

0 commit comments

Comments
 (0)