windows: remove draw_to_buffer functions