Skip to content

Commit daad195

Browse files
cursoragenttimfox
andcommitted
fix(vulkan): only PostFX_NotifyPostPipelinesRebuilt after real post rebuild
vk_update_post_process_pipelines could call PostFX_Notify when vk.fboActive was false, clearing bloom/SSAO/SMAA modified flags without creating pipelines. Run notify only inside the vk.fboActive block. Co-authored-by: Tim Fox <timfox@outlook.com>
1 parent da17c37 commit daad195

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderers/vulkan/vk_post_process_refresh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ void vk_update_post_process_pipelines( void )
6868
vk_create_post_process_pipeline( 13, postWidth, postHeight );
6969
}
7070
vk_create_atmosphere_pipeline();
71+
PostFX_NotifyPostPipelinesRebuilt();
7172
}
72-
PostFX_NotifyPostPipelinesRebuilt();
7373
}

0 commit comments

Comments
 (0)