Snatch engine_draw_frame function on C.