diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 286c4cbbe..57c4ae0cc 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -885,9 +885,7 @@ bool GPU_HW::CompilePipelines() std::unique_ptr fullscreen_quad_vertex_shader = g_gpu_device->CreateShader(GPUShaderStage::Vertex, shadergen.GenerateScreenQuadVertexShader()); - std::unique_ptr uv_quad_vertex_shader = - g_gpu_device->CreateShader(GPUShaderStage::Vertex, shadergen.GenerateUVQuadVertexShader()); - if (!fullscreen_quad_vertex_shader || !uv_quad_vertex_shader) + if (!fullscreen_quad_vertex_shader) return false; progress.Increment(); @@ -1157,6 +1155,8 @@ void GPU_HW::DestroyPipelines() destroy(m_downsample_composite_pass_pipeline); m_downsample_composite_sampler.reset(); + m_copy_pipeline.reset(); + m_display_pipelines.enumerate(destroy); }