summaryrefslogtreecommitdiff
path: root/src/sna/sna_gradient.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-09 14:04:41 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-09 23:24:18 +0000
commit09e54c553680cbc2f3b4319cdab0f3d1af1574a8 (patch)
tree075ad9147c0d3551d4b8cc88f34e257dd6bd9dc6 /src/sna/sna_gradient.c
parent6c70558ae7298db94724c931d88a730ef0151608 (diff)
sna/gen2: Add poor-man's linear gradient support
Convert the linear gradient to a texture ramp and compute the texture coordinates in the standard manner. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_gradient.c')
-rw-r--r--src/sna/sna_gradient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_gradient.c b/src/sna/sna_gradient.c
index c8700761..2aa9bbd6 100644
--- a/src/sna/sna_gradient.c
+++ b/src/sna/sna_gradient.c
@@ -104,7 +104,7 @@ sna_render_get_gradient(struct sna *sna,
int i, width;
struct kgem_bo *bo;
- DBG(("%s: %dx[%f:%x...%f:%x...%f:%x]\n", __FUNCTION__,
+ DBG(("%s: %dx[%f:%x ... %f:%x ... %f:%x]\n", __FUNCTION__,
pattern->nstops,
pattern->stops[0].x / 65536.,
pattern->stops[0].color.alpha >> 8 << 24 |