summaryrefslogtreecommitdiff
path: root/src/glitz_compose.c
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2004-09-09 23:09:03 +0000
committerDavid Reveman <davidr@novell.com>2004-09-09 23:09:03 +0000
commit630708c28ae80cae10282023c87aadbc4a5ef50f (patch)
tree071968ce51a69fefb47c8f91866794dcbd598bb2 /src/glitz_compose.c
parent637c716692675a9e3bb873443bebc3b407c4d29a (diff)
Fixed so that perspective transformations work with convolution filters and gradient filters
Diffstat (limited to 'src/glitz_compose.c')
-rw-r--r--src/glitz_compose.c7
1 files changed, 6 insertions, 1 deletions
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) \
+ ) \
) \
)