Added missing SetPort to restore the current port fin Mac OSX fl_read_image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4393 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
d523a9cc68
commit
63537971ab
@ -118,6 +118,7 @@ fl_read_image(uchar *p, // I - Pixel buffer or NULL to allocate
|
||||
UnlockPixels(pm);
|
||||
fl_delete_offscreen(osbuffer);
|
||||
|
||||
SetPort(srcPort);
|
||||
return p;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user