[Git][wine/wine][master] gdiplus/tests: Make sure stride is correct for GdipCreateBitmapFromScan0.
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... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/7d48143c46b345cb81e68034fcd6d54... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)