mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 15:46:52 +08:00
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:
+3
-3
@@ -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)) {
|
if (start(img, XP, YP, WP, HP, img->w(), img->h(), cx, cy, X, Y, W, H)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CGDataProviderReleaseDataCallback release_cb = NULL;
|
|
||||||
const uchar* img_bytes = img->array;
|
|
||||||
int ld = img->ld();
|
|
||||||
if (!img->id_) {
|
if (!img->id_) {
|
||||||
CGColorSpaceRef lut = 0;
|
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()) {
|
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
|
// when printing, duplicate the image data so it can be deleted later, at page end
|
||||||
release_cb = imgProviderReleaseData;
|
release_cb = imgProviderReleaseData;
|
||||||
|
|||||||
Reference in New Issue
Block a user