summaryrefslogtreecommitdiff
path: root/render/render.c
diff options
context:
space:
mode:
authorDerek Foreman <manmower@gmail.com>2003-03-17 05:21:58 +0000
committerDerek Foreman <manmower@gmail.com>2003-03-17 05:21:58 +0000
commit32ec1d1e86f6c2868c53ee824fb8842525c607a9 (patch)
tree9fa4aed100ca072a20817a7f68d8a612783e21a3 /render/render.c
parent6bcd6ddd6ec75a7abcac8d5cb6a8272dc69143d8 (diff)
solids should now work with offsets
Diffstat (limited to 'render/render.c')
-rw-r--r--render/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/render.c b/render/render.c
index 12b373ce..481ef098 100644
--- a/render/render.c
+++ b/render/render.c
@@ -80,7 +80,7 @@ void x_paint(Window win, Appearance *l, int x, int y, int w, int h)
l->surface.data.planar.pixel_data = g_new(pixel32, w * h);
if (l->surface.data.planar.grad == Background_Solid)
- gradient_solid(l, w, h);
+ gradient_solid(l, x, y, w, h);
else gradient_render(&l->surface, w, h);
/*reduce depth here...