Index: png.c =================================================================== --- png.c (revision 21189) +++ png.c (revision 21190) @@ -41,6 +41,7 @@ #include "board.h" #include "data.h" +#include "draw.h" #include "error.h" #include "layer.h" #include "misc_util.h" @@ -636,7 +637,7 @@ } ctx.view = *bounds; - pcb_hid_expose_all(&png_hid, &ctx); + pcb_hid_expose_all(&png_hid, &ctx, NULL); memcpy(pcb_layer_stack, saved_layer_stack, sizeof(pcb_layer_stack)); conf_update(NULL, -1); /* restore forced sets */