LibGfx: Make PaintingSurface::write_from_bitmap take a Bitmap const&

It makes it a little bit easier to distinguish which one of
read_into_bitmap and write_from_bitmap actually modify the Bitmap that
was passed to the method. NFC.
This commit is contained in:
Lucas CHOLLET 2024-12-01 23:45:32 -05:00 committed by Alexander Kalenik
commit 407aa629a0
Notes: github-actions[bot] 2024-12-05 16:17:53 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ public:
#endif
void read_into_bitmap(Bitmap&);
void write_from_bitmap(Bitmap&);
void write_from_bitmap(Bitmap const&);
void notify_content_will_change();