mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user