浏览代码

Update WebGLUtils.js

Michael Herzog 3 年之前
父节点
当前提交
1e7bf91bdb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/renderers/webgl/WebGLUtils.js

+ 1 - 1
src/renderers/webgl/WebGLUtils.js

@@ -47,7 +47,7 @@ function WebGLUtils( gl, extensions, capabilities ) {
 
 
 		if ( p === RGBFormat ) {
 		if ( p === RGBFormat ) {
 
 
-			console.warn( 'THREE.WebGLRenderer: THREE.RGBFormat has been removed. Please ues THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228' );
+			console.warn( 'THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228' );
 			return gl.RGBA;
 			return gl.RGBA;
 
 
 		}
 		}