mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 02:32:34 +02:00
fix comment
git-svn-id: trunk@23613 -
This commit is contained in:
parent
c831cad6e0
commit
e4be44c88e
@ -354,7 +354,7 @@ begin
|
||||
end;
|
||||
|
||||
TmpPixBuf := gdk_pixbuf_new_from_data(Data, GDK_COLORSPACE_RGB, True, 8, ImgWidth, ImgHeight, RowStride, nil, nil);
|
||||
// we need to copy our pixbuf into new to allow free data
|
||||
// we need to copy our pixbuf into a new one to allow data deallocation
|
||||
Pixbuf := gdk_pixbuf_copy(TmpPixBuf);
|
||||
gdk_pixbuf_unref(TmpPixBuf);
|
||||
GdiObject^.GDIBitmapType := gbPixbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user