summaryrefslogtreecommitdiff
path: root/src/bdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bdm.c')
-rw-r--r--src/bdm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bdm.c b/src/bdm.c
index 8941592..cbc7df2 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -52,11 +52,11 @@ static void renderImage(cairo_t * cr, BDMImage * image, ScreenArea * area)
int height = image->pixH;
cairo_set_operator(cr,image->attrib->cairoOperator);
cairo_rotate(cr,image->attrib->xrot);
- //cairo_scale(cr,(float)image->attrib->width/(float)image->pixW,image->attrib->height/(float)image->pixH);
cairo_rectangle(cr,widx+x,widy+y,widx+x+width,widy+y+height);
cairo_move_to(cr,widx+x,widy+y);
- cairo_clip(cr);
+ cairo_clip(cr);
+
gdk_cairo_set_source_pixbuf(cr,image->pixbuf,0,0);