Skip to content

Commit c914db4

Browse files
committed
tr_shader: fix “flags & RSF_2D”
1 parent 2c59f4f commit c914db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/tr_shader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6194,7 +6194,7 @@ shader_t *R_FindShader( const char *name, shaderType_t type, int flags )
61946194

61956195
Log::Debug( "loading '%s' image as shader", fileName );
61966196

6197-
if( bits & RSF_2D )
6197+
if ( flags & RSF_2D )
61986198
{
61996199
imageParams_t imageParams = {};
62006200
imageParams.bits = bits | IF_SRGB;

0 commit comments

Comments
 (0)