Temp fix for vulkan pipeline destroy

This commit is contained in:
luboslenco
2025-07-12 21:25:15 +02:00
parent 0e485902d6
commit cc76e9241f
+1
View File
@@ -1422,6 +1422,7 @@ void gpu_set_texture(int unit, gpu_texture_t *texture) {
}
void gpu_pipeline_destroy(gpu_pipeline_t *pipeline) {
gpu_execute_and_wait(); ////
vkDestroyPipeline(device, pipeline->impl.pipeline, NULL);
vkDestroyPipelineLayout(device, pipeline->impl.pipeline_layout, NULL);
}