WAIT just pauses the program for that many frames VSYNC counts from the previous VSYNC