Mugen87 4 лет назад
Родитель
Сommit
7a096e83c1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/jsm/renderers/webgpu/WebGPUBackground.js

+ 1 - 1
examples/jsm/renderers/webgpu/WebGPUBackground.js

@@ -33,7 +33,7 @@ class WebGPUBackground {
 			_clearColor.copy( renderer._clearColor );
 			_clearAlpha = renderer._clearAlpha;
 
-		} else if ( background !== null && background.isColor === true ) {
+		} else if ( background.isColor === true ) {
 
 			// background is an opaque color