Skip to content

Commit

Permalink
ref: gl: fix white border around the screen in Base Defense mod
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jul 28, 2024
1 parent 4a5f340 commit da6586b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ref/gl/gl_triapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ void TriRenderMode( int mode )
break;
case kRenderGlow:
case kRenderTransAdd:
pglTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE );
pglBlendFunc( GL_SRC_ALPHA, GL_ONE );
pglEnable( GL_BLEND );
pglDepthMask( GL_FALSE );
Expand Down

0 comments on commit da6586b

Please sign in to comment.