mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 10:07:17 +00:00
[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:
parent
058a67cb4a
commit
e128cbc680
|
@ -3264,7 +3264,11 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
|
||||||
|
|
||||||
if (do_resampling)
|
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;
|
REAL delta_xx, delta_xy, delta_yx, delta_yy;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Transform the bits as needed to the destination. */
|
/* 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));
|
dst_data = dst_dyn_data = heap_alloc_zero(sizeof(ARGB) * (dst_area.right - dst_area.left) * (dst_area.bottom - dst_area.top));
|
||||||
|
|
Loading…
Reference in a new issue