Skip to content

Commit 044d51c

Browse files
committed
tr_image: NUKE $red, $green and $blue
1 parent 281a9cc commit 044d51c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/engine/renderer/tr_image.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2771,21 +2771,6 @@ void R_CreateBuiltinImages()
27712771

27722772
tr.blackImage = R_CreateImage( "$black", ( const byte ** ) &dataPtr, 1, 1, 1, imageParams );
27732773

2774-
// red
2775-
Vector4Set( data, 255, 0, 0, 255 );
2776-
2777-
tr.redImage = R_CreateImage( "$red", ( const byte ** ) &dataPtr, 1, 1, 1, imageParams );
2778-
2779-
// green
2780-
Vector4Set( data, 0, 255, 0, 255 );
2781-
2782-
tr.greenImage = R_CreateImage( "$green", ( const byte ** ) &dataPtr, 1, 1, 1, imageParams );
2783-
2784-
// blue
2785-
Vector4Set( data, 0, 0, 255, 255 );
2786-
2787-
tr.blueImage = R_CreateImage( "$blue", ( const byte ** ) &dataPtr, 1, 1, 1, imageParams );
2788-
27892774
// generate a default normalmap with a fully opaque heightmap (no displacement)
27902775
Vector4Set( data, 128, 128, 255, 255 );
27912776

0 commit comments

Comments
 (0)