[GDIPLUS] Fix for gdiplus/graphics.c regression with GCC 8.4.0 from 4.7.2(#7348)

Affects ribbon bar when running Super Finder XT 1.6.3.2 from rapps.

Change four REAL variables to DOUBLE to improve precision.

CORE-19456
This commit is contained in:
Doug Lyons 2024-09-19 14:54:49 -05:00 committed by GitHub
parent 058a67cb4a
commit e128cbc680
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3264,7 +3264,11 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
if (do_resampling)
{
#ifdef __REACTOS__ // CORE-19456
DOUBLE delta_xx, delta_xy, delta_yx, delta_yy;
#else
REAL delta_xx, delta_xy, delta_yx, delta_yy;
#endif
/* Transform the bits as needed to the destination. */
dst_data = dst_dyn_data = heap_alloc_zero(sizeof(ARGB) * (dst_area.right - dst_area.left) * (dst_area.bottom - dst_area.top));