mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
[spline/bezier]minor fix
This commit is contained in:
parent
a7754c4b9c
commit
3c2837bee7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue