Skip to content

Commit ec009d8

Browse files
committed
tr_image: upload _fog image as GL_RED
1 parent f18b325 commit ec009d8

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
@@ -2441,7 +2441,7 @@ static void R_CreateFogImage()
24412441
// the border color at the edges. OpenGL 1.2 has clamp-to-edge, which does
24422442
// what we want.
24432443
imageParams_t imageParams = {};
2444-
imageParams.bits = IF_NOPICMIP;
2444+
imageParams.bits = IF_NOPICMIP | IF_RED;
24452445
imageParams.filterType = filterType_t::FT_DEFAULT;
24462446
imageParams.wrapType = wrapTypeEnum_t::WT_CLAMP;
24472447

0 commit comments

Comments
 (0)