added missing DDFLIP_INTERVAL1 flag
implemented waiting for vsync as gl extension. this needs futher work, such as make_opengl revival.