Skip to content

Commit 4861bb7

Browse files
committed
tr_image: rename remaining builtin images as $name
1 parent 7814173 commit 4861bb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/engine/renderer/tr_image.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2507,7 +2507,7 @@ static void R_CreateDefaultImage()
25072507
imageParams.filterType = filterType_t::FT_DEFAULT;
25082508
imageParams.wrapType = wrapTypeEnum_t::WT_REPEAT;
25092509

2510-
tr.defaultImage = R_CreateImage( "_default", ( const byte ** ) &dataPtr, DEFAULT_SIZE, DEFAULT_SIZE, 1, imageParams );
2510+
tr.defaultImage = R_CreateImage( "$default", ( const byte ** ) &dataPtr, DEFAULT_SIZE, DEFAULT_SIZE, 1, imageParams );
25112511
}
25122512

25132513
static void R_CreateContrastRenderFBOImage()
@@ -2670,7 +2670,7 @@ static void R_CreateBlackCubeImage()
26702670
imageParams.wrapType = wrapTypeEnum_t::WT_EDGE_CLAMP;
26712671

26722672
const byte *dataPtrs[ 6 ] = { data, data, data, data, data, data };
2673-
tr.blackCubeImage = R_CreateCubeImage( "_blackCube", dataPtrs, width, height, imageParams );
2673+
tr.blackCubeImage = R_CreateCubeImage( "$blackCube", dataPtrs, width, height, imageParams );
26742674
}
26752675

26762676
// *INDENT-ON*
@@ -2696,7 +2696,7 @@ static void R_CreateWhiteCubeImage()
26962696
imageParams.filterType = filterType_t::FT_LINEAR;
26972697
imageParams.wrapType = wrapTypeEnum_t::WT_EDGE_CLAMP;
26982698

2699-
tr.whiteCubeImage = R_CreateCubeImage( "_whiteCube", ( const byte ** ) data, width, height, imageParams );
2699+
tr.whiteCubeImage = R_CreateCubeImage( "$whiteCube", ( const byte ** ) data, width, height, imageParams );
27002700

27012701
for ( i = 5; i >= 0; i-- )
27022702
{
@@ -2739,7 +2739,7 @@ static void R_CreateColorGradeImage()
27392739
imageParams.filterType = filterType_t::FT_LINEAR;
27402740
imageParams.wrapType = wrapTypeEnum_t::WT_EDGE_CLAMP;
27412741

2742-
tr.colorGradeImage = R_Create3DImage( "_colorGrade", data, REF_COLORGRADEMAP_SIZE, REF_COLORGRADEMAP_SIZE, REF_COLORGRADE_SLOTS * REF_COLORGRADEMAP_SIZE, imageParams );
2742+
tr.colorGradeImage = R_Create3DImage( "$colorGrade", data, REF_COLORGRADEMAP_SIZE, REF_COLORGRADEMAP_SIZE, REF_COLORGRADE_SLOTS * REF_COLORGRADEMAP_SIZE, imageParams );
27432743

27442744
ri.Hunk_FreeTempMemory( data );
27452745
}

0 commit comments

Comments
 (0)