Commit c409e5c
Fix flip_y producing non-contiguous array in load_buffer_data_from_image (#937)
np.flipud returns a view with negative strides, which copy_from_numpy
rejects. Ensure the returned array is always C-contiguous.
Relates to #928
Made-with: Cursor
Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>1 parent 3d1d552 commit c409e5c
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
0 commit comments