|
@@ -477,7 +477,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
|
|
// (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)
|
|
// (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)
|
|
if ( texture.type !== UnsignedInt248Type ) {
|
|
if ( texture.type !== UnsignedInt248Type ) {
|
|
|
|
|
|
- console.warn( 'THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.' );
|
|
|
|
|
|
+ console.warn( 'THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.' );
|
|
|
|
|
|
texture.type = UnsignedInt248Type;
|
|
texture.type = UnsignedInt248Type;
|
|
glType = paramThreeToGL( texture.type );
|
|
glType = paramThreeToGL( texture.type );
|