mirror of https://github.com/fltk/fltk
Moved a few local variable declarations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
7d0b5d05cb
commit
da96b83903
|
@ -461,11 +461,11 @@ void Fl_Quartz_Graphics_Driver::draw(Fl_RGB_Image *img, int XP, int YP, int WP,
|
|||
if (start(img, XP, YP, WP, HP, img->w(), img->h(), cx, cy, X, Y, W, H)) {
|
||||
return;
|
||||
}
|
||||
CGDataProviderReleaseDataCallback release_cb = NULL;
|
||||
const uchar* img_bytes = img->array;
|
||||
int ld = img->ld();
|
||||
if (!img->id_) {
|
||||
CGColorSpaceRef lut = 0;
|
||||
CGDataProviderReleaseDataCallback release_cb = NULL;
|
||||
const uchar* img_bytes = img->array;
|
||||
int ld = img->ld();
|
||||
if (Fl_Surface_Device::surface() != Fl_Display_Device::display_device()) {
|
||||
// when printing, duplicate the image data so it can be deleted later, at page end
|
||||
release_cb = imgProviderReleaseData;
|
||||
|
|
Loading…
Reference in New Issue