Skip to content

Commit 1117112

Browse files
committed
disable bloom when not linear computation
1 parent e58576b commit 1117112

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/engine/renderer/tr_backend.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3048,7 +3048,8 @@ void RB_RenderBloom()
30483048
GLimp_LogComment( "--- RB_RenderBloom ---\n" );
30493049

30503050
if ( ( backEnd.refdef.rdflags & ( RDF_NOWORLDMODEL | RDF_NOBLOOM ) )
3051-
|| !glConfig2.bloom || backEnd.viewParms.portalLevel > 0 ) {
3051+
|| !glConfig2.bloom || backEnd.viewParms.portalLevel > 0
3052+
|| !tr.worldLinearizeTexture ) {
30523053
return;
30533054
}
30543055

0 commit comments

Comments
 (0)