From 5f07213c25ef1d09f085dc324749135fbaa47a39 Mon Sep 17 00:00:00 2001 From: xebra Date: Sun, 30 Sep 2018 17:10:58 +0900 Subject: [PATCH] [spline/bezier]minor fix --- GPU/Common/SplineCommon.cpp | 2 +- GPU/Common/SplineCommon.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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);