Fix issues with Fl_RGB_Image::draw() + window scaling, and performance concerns (#1370)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2026-03-13 09:27:25 +01:00
parent 38cad05357
commit 278e6eef6e
+1 -1
View File
@@ -417,7 +417,7 @@ void Fl_X11_Window_Driver::make_current() {
cairo_save(cairo_);
}
} else if (other_xid) {
pWindow->damage(FL_DAMAGE_EXPOSE);
pWindow->damage(FL_DAMAGE_CHILD);
}
if (cairo_) ((Fl_X11_Cairo_Graphics_Driver*)fl_graphics_driver)->set_cairo(cairo_);
fl_graphics_driver->scale(scale);