Skip to content
Commit 1854224c authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects/zoom: Fix crash on X11

On X11, the painted screen is meaningless, so the zoom effect doesn't
use it to store offscreen data. It can create problems when iterating
over offscreen data map.

The painted screen can't be used to determine the necessary offscreen
texture size too. X11 requires some special care.

This change adds explicit wayland checks.

BUG: 466376
parent a6df1136
Pipeline #339867 canceled with stage
in 46 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment