Skip to content

Commit ce0a6e3

Browse files
committed
tr_shader: fix “flags & RSF_2D”
1 parent 9b8bc85 commit ce0a6e3

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
@@ -6186,7 +6186,7 @@ shader_t *R_FindShader( const char *name, shaderType_t type, int flags )
61866186

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

6189-
if( bits & RSF_2D )
6189+
if ( flags & RSF_2D )
61906190
{
61916191
imageParams_t imageParams = {};
61926192
imageParams.bits = bits | IF_SRGB;

0 commit comments

Comments
 (0)