Remove implicit conversion between Fl_Image* and Fl_RGB_Image*

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2016-08-28 09:51:10 +00:00
parent 3b5bf9691d
commit 172c8c8984
+1 -1
View File
@@ -2792,7 +2792,7 @@ void Fl_Paged_Device::draw_decorated_window(Fl_Window *win, int x_offset, int y_
if (scaling > 1) {
Fl_RGB_Scaling current = Fl_Image::RGB_scaling();
Fl_Image::RGB_scaling(FL_RGB_SCALING_BILINEAR);
Fl_Image *tmp_img = top_r->copy(ww, (bt + by)/scaling);
Fl_RGB_Image *tmp_img = (Fl_RGB_Image*)top_r->copy(ww, (bt + by)/scaling);
Fl_Image::RGB_scaling(current);
delete top_r;
top_r = tmp_img;