Path: chuka.playstation.co.uk!news From: "Alex Herbert" Newsgroups: scee.yaroze.freetalk.english,scea.yaroze.freetalk.english Subject: Re: Consecutive VSync(0) calls... Date: Thu, 20 Jan 2000 20:34:14 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: <867qvv$d281@chuka.playstation.co.uk> References: <388742d7.3707031359@news.playstation.co.uk> NNTP-Posting-Host: 212.159.73.76 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Steven Osman wrote in message news:388742d7.3707031359@news.playstation.co.uk... > Hey, > > I was curious, what does the following bit of code do? > > VSync(0); > VSync(0); > > The first call clearly waits for a vsync... Does the second call > return immediately, or wait for the next vsync? > > Steven > Hi, The second call should wait for the next vsync, thus dropping the frame rate. I wouldn't advise doing this though because you would always loose 1/50th second (1/60th for NTSC) of CPU/GPU time. If you need to run at a lower frame rate it would be far better to use VSync(2). Herbs