mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
SharedGraphics: Fix #ifdef mismatch in Painter.
This mistake created an incredible amount of confusion. We would allocate a slightly too small Painter on the stack and then invoke its constructor, overwriting whatever came after it on the stack.
This commit is contained in:
parent
10d6f9ce31
commit
9b2b9fe39b
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ private:
|
|||
Point m_translation;
|
||||
Rect m_clip_rect;
|
||||
RetainPtr<GraphicsBitmap> m_target;
|
||||
#ifdef LIBGUI
|
||||
#ifdef USERLAND
|
||||
GWindow* m_window { nullptr };
|
||||
#endif
|
||||
DrawOp m_draw_op { DrawOp::Copy };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue