Skip to content

Commit a992009

Browse files
Mugen87mrdoob
authored andcommitted
TextureUtils: Remove deprecated code. (#28996)
1 parent ca42d00 commit a992009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/utils/TextureUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function decompress( texture, maxTextureSize = Infinity, renderer = null
3434
gl_FragColor = vec4(vUv.xy, 0, 1);
3535
3636
#ifdef IS_SRGB
37-
gl_FragColor = LinearTosRGB( texture2D( blitTexture, vUv) );
37+
gl_FragColor = sRGBTransferOETF( texture2D( blitTexture, vUv) );
3838
#else
3939
gl_FragColor = texture2D( blitTexture, vUv);
4040
#endif

0 commit comments

Comments
 (0)