From 630708c28ae80cae10282023c87aadbc4a5ef50f Mon Sep 17 00:00:00 2001 From: David Reveman Date: Thu, 9 Sep 2004 23:09:03 +0000 Subject: Fixed so that perspective transformations work with convolution filters and gradient filters --- src/glitz_compose.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/glitz_compose.c') diff --git a/src/glitz_compose.c b/src/glitz_compose.c index 4c3933a..33662ce 100644 --- a/src/glitz_compose.c +++ b/src/glitz_compose.c @@ -417,8 +417,13 @@ _glitz_combine_map[GLITZ_SURFACE_TYPES][GLITZ_SURFACE_TYPES] = { ) \ ) \ : \ - ((!SURFACE_PAD (surface)) || \ + ((SURFACE_PAD (surface))? \ (TEXTURE_PADABLE (&(surface)->texture)) \ + : \ + ( \ + (!SURFACE_PROJECTIVE_TRANSFORM (surface)) || \ + ((feature_mask) & GLITZ_FEATURE_TEXTURE_BORDER_CLAMP_MASK) \ + ) \ ) \ ) -- cgit v1.2.3