Skip to content
Commit 2d6af9e7 authored by Chris Wilson's avatar Chris Wilson
Browse files

sna: Switch from ifdef PICT_ to if XORG_VERSION_CURRENT



The PICT_ are enums and so never report true to ifdef PICT_a2r10g10b10
and instead we need to check the xserver version they were introduced.

Reported-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 781fd07e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment