diff --git a/GPU/Common/SplineCommon.cpp b/GPU/Common/SplineCommon.cpp index c75c0c4ed6..ee4b26a6b9 100644 --- a/GPU/Common/SplineCommon.cpp +++ b/GPU/Common/SplineCommon.cpp @@ -479,7 +479,7 @@ static void HardwareTessellation(OutputBuffers &output, const Surface &surface, surface.BuildIndex(output.indices, output.count); } -} +} // namespace Spline using namespace Spline; diff --git a/GPU/Common/SplineCommon.h b/GPU/Common/SplineCommon.h index 1d534cf215..a6d82def4b 100644 --- a/GPU/Common/SplineCommon.h +++ b/GPU/Common/SplineCommon.h @@ -202,10 +202,10 @@ struct OutputBuffers { int count; }; -template -void SoftwareTessellation(OutputBuffers &output, const Patch &patch, u32 origVertType, const ControlPoints &points); +template +void SoftwareTessellation(OutputBuffers &output, const Surface &surface, u32 origVertType, const ControlPoints &points); -} +} // namespace Spline bool CanUseHardwareTessellation(GEPatchPrimType prim);