Skip to content

Commit

Permalink
TextureUtils: Remove deprecated code. (#28996)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored and mrdoob committed Aug 1, 2024
1 parent 067f8a0 commit 42a2f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/utils/TextureUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function decompress( texture, maxTextureSize = Infinity, renderer = null
gl_FragColor = vec4(vUv.xy, 0, 1);
#ifdef IS_SRGB
gl_FragColor = LinearTosRGB( texture2D( blitTexture, vUv) );
gl_FragColor = sRGBTransferOETF( texture2D( blitTexture, vUv) );
#else
gl_FragColor = texture2D( blitTexture, vUv);
#endif
Expand Down

0 comments on commit 42a2f6a

Please sign in to comment.