mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-25 21:26:34 +02:00
applied patch from Valdas Janka for bug #8498 to fix pixmap scaling
git-svn-id: trunk@10874 -
This commit is contained in:
parent
3af8922151
commit
578459f760
@ -1229,7 +1229,7 @@ begin
|
||||
DebugLn('ScalePixmap Creating PixBuf from pixmap SrcWhole='+dbgs(SrcWholeWidth),','+dbgs(SrcWholeHeight));
|
||||
{$ENDIF}
|
||||
ScaleSRC := gdk_pixbuf_get_from_drawable(nil,SrcPixmap,
|
||||
SrcColorMap,0,0,SrcX,SrcY,SrcWidth,SrcHeight);
|
||||
SrcColorMap,SrcX,SrcY,0,0,SrcWidth,SrcHeight);
|
||||
If ScaleSRC = nil then begin
|
||||
DebugLn('WARNING: ScalePixmap ScaleSRC=nil');
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user