Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cdd8757

Browse files
committedFeb 12, 2025·
fixup: remove now-useless comment
1 parent d4711ea commit cdd8757

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

Diff for: ‎src/engine/renderer/tr_shader.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -4763,10 +4763,6 @@ static bool ParseShader( const char *_text )
47634763

47644764
static int packLinearizeTexture( bool linearizeColorMap, bool linearizeMaterialMap, bool linearizeLightMap )
47654765
{
4766-
/* HACK: emulate three-bits bitfield
4767-
even: no color map linearization (first bit)
4768-
less than 2: no light map linearization (second bit)
4769-
positive: no material map linearization (extra bit) */
47704766
return linearizeColorMap << 0
47714767
| linearizeLightMap << 1
47724768
| linearizeMaterialMap << 2;

0 commit comments

Comments
 (0)
Please sign in to comment.