Explorar el Código

Fix: WebGPUTextureUtils._getDefaultCubeTextureGPU using wrong cache (#32425)

Co-authored-by: “SE7EN2028” <“RITIKGOTBUSY@GMAIL.COM”>
Ritik Anand hace 4 meses
padre
commit
76d5e4f40c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderers/webgpu/utils/WebGPUTextureUtils.js

+ 1 - 1
src/renderers/webgpu/utils/WebGPUTextureUtils.js

@@ -683,7 +683,7 @@ class WebGPUTextureUtils {
 	 */
 	_getDefaultCubeTextureGPU( format ) {
 
-		let defaultCubeTexture = this.defaultTexture[ format ];
+		let defaultCubeTexture = this.defaultCubeTexture[ format ];
 
 		if ( defaultCubeTexture === undefined ) {
 

粤ICP备19079148号