Skip to content

Commit 7a096e8

Browse files
committed
WebGPUBackground: Clean up.
1 parent f483e32 commit 7a096e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/renderers/webgpu/WebGPUBackground.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class WebGPUBackground {
3333
_clearColor.copy( renderer._clearColor );
3434
_clearAlpha = renderer._clearAlpha;
3535

36-
} else if ( background !== null && background.isColor === true ) {
36+
} else if ( background.isColor === true ) {
3737

3838
// background is an opaque color
3939

0 commit comments

Comments
 (0)