moos at pt.lu
Tue Aug 14 09:39:01 PDT 2001
take the time! run your programm and take the time every turn! emh, eeeemh,
yeah, you have to divide the number of frames by the time! if you have 30
farmes and 1 second, you have 30/1 fps! hope it helps
----- Original Message -----
From: "Kevin" <image at visions.co.nz>
To: "sdl" <sdl at libsdl.org>
Sent: Tuesday, August 14, 2001 3:44 PM
Subject: [SDL] benchmarking
> I did a quick search of the last 400 messages and couldn't find anything.
> How can I setup my program (sdl+opengl) so the frame rate can requested.
> and also how to work out the actual frame rate.
> The program is a simple opengl rotating cube, with a few modification I
> have been playing around with.
> sorry if this is too off topic.
> - Kevin Macey
> SDL mailing list
> SDL at libsdl.org
More information about the SDL