On Mon, Feb 26, 2018 at 3:26 PM, Adam Jackson <a...@redhat.com> wrote: > This is always true now that glamor is in-tree. > > Signed-off-by: Adam Jackson <a...@redhat.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glamor/glamor_utils.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h > index 7597b92dc..84371f769 100644 > --- a/glamor/glamor_utils.h > +++ b/glamor/glamor_utils.h > @@ -601,10 +601,8 @@ format_for_depth(int depth) > default: > case 24: > return PICT_x8r8g8b8; > -#if XORG_VERSION_CURRENT >= 10699900 > case 30: > return PICT_x2r10g10b10; > -#endif > case 32: > return PICT_a8r8g8b8; > } > @@ -669,7 +667,6 @@ glamor_get_rgba_from_pixel(CARD32 pixel, > gshift = rbits; > bshift = gshift + gbits; > ashift = bshift + bbits; > -#if XORG_VERSION_CURRENT >= 10699900 > } > else if (PICT_FORMAT_TYPE(format) == PICT_TYPE_BGRA) { > ashift = 0; > @@ -678,7 +675,6 @@ glamor_get_rgba_from_pixel(CARD32 pixel, > rshift = PICT_FORMAT_BPP(format) - (rbits + gbits + bbits); > gshift = rshift + rbits; > bshift = gshift + gbits; > -#endif > } > else { > return FALSE; > -- > 2.14.3 > > _______________________________________________ > xorg-devel@lists.x.org: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: https://lists.x.org/mailman/listinfo/xorg-devel _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel