mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
[spline/bezier]minor fix
This commit is contained in:
1 parent
a7754c4b9c
commit
3c2837bee7
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user