Permalink
Browse files

[spline/bezier]minor fix

  • Loading branch information...
xebra committed Jan 30, 2018
1 parent a7754c4 commit 3c2837bee7ff2bedf7535928d9a021c0f5d5b603
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 3c2837b

Please sign in to comment.