From 3c2837bee7ff2bedf7535928d9a021c0f5d5b603 Mon Sep 17 00:00:00 2001 From: xebra Date: Tue, 30 Jan 2018 14:56:21 +0900 Subject: [PATCH] [spline/bezier]minor fix --- GPU/Common/SplineCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Common/SplineCommon.cpp b/GPU/Common/SplineCommon.cpp index 2977f7b44b..69e579bca7 100644 --- a/GPU/Common/SplineCommon.cpp +++ b/GPU/Common/SplineCommon.cpp @@ -1069,7 +1069,7 @@ void DrawEngineCommon::SubmitBezier(const void *control_points, const void *indi BezierPatch& patch = patches[patch_u + patch_v * num_patches_u]; for (int point = 0; point < 16; ++point) { int idx = (patch_u * 3 + point % 4) + (patch_v * 3 + point / 4) * count_u; - patch.points[point] = simplified_control_points + (indices ? idxConv.convert(idx) : idx); + patch.points[point] = points[idx]; } patch.u_index = patch_u * 3; patch.v_index = patch_v * 3;