try video_set(var width,var height,var depth,var screen)