Skip to content

Commit

Permalink
Complete construction of Fl_Image_Surface_Driver with Fl_Offscreen br…
Browse files Browse the repository at this point in the history
…ought by the caller.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Jun 8, 2018
1 parent bfac490 commit 39e2952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/drivers/GDI/Fl_GDI_Image_Surface_Driver.cxx
Expand Up @@ -44,7 +44,7 @@ Fl_Image_Surface_Driver *Fl_Image_Surface_Driver::newImageSurfaceDriver(int w, i
}


Fl_GDI_Image_Surface_Driver::Fl_GDI_Image_Surface_Driver(int w, int h, int high_res, Fl_Offscreen off) : Fl_Image_Surface_Driver(w, h, high_res, 0) {
Fl_GDI_Image_Surface_Driver::Fl_GDI_Image_Surface_Driver(int w, int h, int high_res, Fl_Offscreen off) : Fl_Image_Surface_Driver(w, h, high_res, off) {
float d = fl_graphics_driver->scale();
if (!off && d != 1 && high_res) {
w = int(w*d);
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
Expand Up @@ -46,7 +46,7 @@ Fl_Image_Surface_Driver *Fl_Image_Surface_Driver::newImageSurfaceDriver(int w, i
}


Fl_Quartz_Image_Surface_Driver::Fl_Quartz_Image_Surface_Driver(int w, int h, int high_res, Fl_Offscreen off) : Fl_Image_Surface_Driver(w, h, high_res, 0) {
Fl_Quartz_Image_Surface_Driver::Fl_Quartz_Image_Surface_Driver(int w, int h, int high_res, Fl_Offscreen off) : Fl_Image_Surface_Driver(w, h, high_res, off) {
int W = w, H = h;
float s = 1;
if (high_res) {
Expand Down

0 comments on commit 39e2952

Please sign in to comment.