Skip to content
Commit 7bfd3027 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
(cherry picked from commit 1854224c)
parent c46c853c
Pipeline #339882 failed with stage
in 23 minutes and 58 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