Skip to content

Commit

Permalink
Vulkan: added missing texture mode setup in GL_SetDefaultState()
Browse files Browse the repository at this point in the history
  • Loading branch information
ec- committed Mar 4, 2024
1 parent 4b2b072 commit d90d628
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/renderervk/tr_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,8 @@ const void *RB_TakeVideoFrameCmd( const void *data )
static void GL_SetDefaultState( void )
{
#ifdef USE_VULKAN
GL_TextureMode( r_textureMode->string );

glState.glStateBits = GLS_DEPTHTEST_DISABLE | GLS_DEPTHMASK_TRUE;
#else
int i;
Expand Down

0 comments on commit d90d628

Please sign in to comment.