Index: gtkhid-cairo.c =================================================================== --- gtkhid-cairo.c (revision 14690) +++ gtkhid-cairo.c (revision 14691) @@ -567,6 +567,7 @@ { } +/** Drawing modes usually cycle from RESET to (POSITIVE | NEGATIVE) to FLUSH. direct and screen are not used in this HID. */ static void ghid_cairo_set_drawing_mode(pcb_composite_op_t op, pcb_bool direct, const pcb_box_t *screen) { render_priv_t *priv = gport->render_priv; @@ -576,13 +577,6 @@ return; } - if (direct) { - //priv->out_pixel = priv->base_pixel; - //priv->out_clip = NULL; - curr_drawing_mode = PCB_HID_COMP_POSITIVE; - return; - } - switch(op) { case PCB_HID_COMP_RESET: //ghid_sketch_setup(priv);