mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:18:12 +00:00
Revert "Userland: static vs non-static constexpr variables"
This reverts commit 800ea8ea96
.
Booting the system no longer worked after these changes.
This commit is contained in:
parent
68f76b9e37
commit
d60ebbbba6
38 changed files with 184 additions and 192 deletions
|
@ -634,7 +634,7 @@ void Compositor::flip_buffers()
|
|||
|
||||
void Compositor::run_animations(Gfx::DisjointRectSet& flush_rects)
|
||||
{
|
||||
constexpr int minimize_animation_steps = 10;
|
||||
static const int minimize_animation_steps = 10;
|
||||
auto& painter = *m_back_painter;
|
||||
Gfx::PainterStateSaver saver(painter);
|
||||
painter.set_draw_op(Gfx::Painter::DrawOp::Invert);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue