Skip to content

Commit 332338b

Browse files
committed
fix-use-var-not-cvar
1 parent 8d4039a commit 332338b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/tr_image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ static void R_CreateCurrentRenderImage()
24092409
imageParams_t imageParams = {};
24102410
imageParams.bits = IF_NOPICMIP;
24112411

2412-
bool bestWithHighPrecisionFrameBuffer = !r_mapClampOverBright.Get();
2412+
bool bestWithHighPrecisionFrameBuffer = tr.mapClampOverBright;
24132413

24142414
if ( bestWithHighPrecisionFrameBuffer && glConfig2.textureFloatAvailable && r_highPrecisionRendering.Get() )
24152415
{

0 commit comments

Comments
 (0)