Explorar o código

GLSLNodeBuilder: Fix color space regression. (#29945)

Michael Herzog hai 1 ano
pai
achega
ca5af63b0d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js

+ 1 - 1
src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js

@@ -61,7 +61,7 @@ class GLSLNodeBuilder extends NodeBuilder {
 
 	}
 
-	needsColorSpaceToLinearSRGB( texture ) {
+	needsToWorkingColorSpace( texture ) {
 
 		return texture.isVideoTexture === true && texture.colorSpace !== NoColorSpace;
 

粤ICP备19079148号