Skip to content

Commit 1b29414

Browse files
committed
tr_shader: fix “flags & RSF_2D”
1 parent 430b387 commit 1b29414

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

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

6172-
if( bits & RSF_2D )
6172+
if ( flags & RSF_2D )
61736173
{
61746174
imageParams_t imageParams = {};
61756175
imageParams.bits = bits;

0 commit comments

Comments
 (0)