If you have changed the destination of a window to a memory screen and want to change it back to the video screen, specify VID_SCRP as the destination screen:
sw_dest(VID_SCRP, wnp);