Explorar o código

Merge pull request #20268 from takahirox/InitialWebGPUBufferVersion

WebGPURenderer: Initialize WebGPU attribute buffer version as geometry attribute version
Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
98bccc8aad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/jsm/renderers/webgpu/WebGPUAttributes.js

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

@@ -65,7 +65,7 @@ class WebGPUAttributes {
 		buffer.unmap();
 
 		return {
-			version: 0,
+			version: attribute.version,
 			buffer: buffer
 		};
 

粤ICP备19079148号