diff --git a/src/Cafe/HW/Latte/Renderer/Metal/MetalPipelineCompiler.cpp b/src/Cafe/HW/Latte/Renderer/Metal/MetalPipelineCompiler.cpp index 9b865fb5..94292e04 100644 --- a/src/Cafe/HW/Latte/Renderer/Metal/MetalPipelineCompiler.cpp +++ b/src/Cafe/HW/Latte/Renderer/Metal/MetalPipelineCompiler.cpp @@ -370,7 +370,6 @@ MTL::RenderPipelineState* MetalPipelineCompiler::Compile(bool forceCompile, bool desc->setMeshFunction(m_geometryShaderMtl->GetFunction()); desc->setFragmentFunction(m_pixelShaderMtl->GetFunction()); - NS::Error* error = nullptr; #ifdef CEMU_DEBUG_ASSERT desc->setLabel(GetLabel("Mesh render pipeline state", desc)); #endif @@ -384,7 +383,6 @@ MTL::RenderPipelineState* MetalPipelineCompiler::Compile(bool forceCompile, bool desc->setVertexFunction(m_vertexShaderMtl->GetFunction()); desc->setFragmentFunction(m_pixelShaderMtl->GetFunction()); - NS::Error* error = nullptr; #ifdef CEMU_DEBUG_ASSERT desc->setLabel(GetLabel("Render pipeline state", desc)); #endif