We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f18b325 commit ec009d8Copy full SHA for ec009d8
src/engine/renderer/tr_image.cpp
@@ -2441,7 +2441,7 @@ static void R_CreateFogImage()
2441
// the border color at the edges. OpenGL 1.2 has clamp-to-edge, which does
2442
// what we want.
2443
imageParams_t imageParams = {};
2444
- imageParams.bits = IF_NOPICMIP;
+ imageParams.bits = IF_NOPICMIP | IF_RED;
2445
imageParams.filterType = filterType_t::FT_DEFAULT;
2446
imageParams.wrapType = wrapTypeEnum_t::WT_CLAMP;
2447
0 commit comments