diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java index 831bad7ae2..60aa4cc228 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java @@ -2028,7 +2028,7 @@ protected Optional loadImageDataAtExactSize(int width, int height) { } protected ImageHandle newImageHandle(ZoomContext zoomContext) { - ImageData resizedData = getScaledImageData (zoomContext.targetZoom()); + ImageData resizedData = getImageData (zoomContext.targetZoom()); return newImageHandle(resizedData, zoomContext); } @@ -2070,7 +2070,7 @@ protected Rectangle getBounds(int zoom) { @Override ImageData newImageData(ZoomContext zoomContext) { - return getImageData(zoomContext.targetZoom()); + return getScaledImageData(zoomContext.targetZoom()); } @Override