[spline/bezier]minor fix

This commit is contained in:
xebra 2018-01-30 14:56:21 +09:00
parent a7754c4b9c
commit 3c2837bee7

View file

@ -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;