Alexandre Julliard pushed to branch master at wine / wine
Commits: 7d48143c by Yuxuan Shui at 2025-06-06T23:51:11+02:00 gdiplus/tests: Make sure stride is correct for GdipCreateBitmapFromScan0.
We use 4*3 as the stride for GdipCreateBitmapFromScan0 in all test cases in test_CloneBitmapArea, but bmp_3x3_data_24bpp_rgb only has 9 bytes per row. GdipCreateBitmapFromScan0 also expects the stride to be a multiple of 4, so pad bmp_3x3_data_24bpp_rgb to be 12 bytes per row.
- - - - -
1 changed file:
- dlls/gdiplus/tests/image.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/7d48143c46b345cb81e68034fcd6d54...