Path: chuka.playstation.co.uk!news From: sosman@terratron.com (Steven Osman) Newsgroups: scee.yaroze.freetalk.english,scea.yaroze.freetalk.english Subject: Re: Consecutive VSync(0) calls... Date: Thu, 20 Jan 2000 22:20:40 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 42 Message-ID: <388789d2.1771807@news.playstation.co.uk> References: <388742d7.3707031359@news.playstation.co.uk> <867qvv$d281@chuka.playstation.co.uk> NNTP-Posting-Host: 209.27.57.69 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.452 Actually, I'm writing a library that works with both Direct-X 7 and yaroze. I am not interested in actually doing this, but I wanted to make sure that the DX part of the library would behave similarly to it's NY counterpart. Thanks for the feedback. Steven On Thu, 20 Jan 2000 20:34:14 -0000, "Alex Herbert" wrote: >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 > >