Просмотр исходного кода

WebGPUUtils: Added TODO message.

mrdoob 1 год назад
Родитель
Сommit
6375310421
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/renderers/webgpu/utils/WebGPUUtils.js

+ 3 - 0
src/renderers/webgpu/utils/WebGPUUtils.js

@@ -111,6 +111,9 @@ class WebGPUUtils {
 
 	getPreferredCanvasFormat() {
 
+		// TODO: Remove this check when Quest 34.5 is out
+		// https://github.com/mrdoob/three.js/pull/29221/files#r1731833949
+
 		if ( navigator.userAgent.includes( 'Quest' ) ) {
 
 			return GPUTextureFormat.BGRA8Unorm;

粤ICP备19079148号