Skip to content

effects/zoom: Fix crash on X11

Vlad Zahorodnii requested to merge work/zzag/zoom-effect-crash into master

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

Merge request reports

Loading