PDA

View Full Version : help with win32 OpenGL screensaver



cire
08-24-2000, 02:32 PM
I'm writing an OpenGL screensaver for win32, and my question is more windows-related than GL-related.

I want to use scrnsave.lib so I can hook into the screensaver functions (like the configure dialog box), but for me I find the timer mechanism (WM_TIMER events) too slow.

I'm on a K7 600 with a Geforce DDR and for some reason when I set the timer with a 10 ms delay, I get really slow fps (like 20 fps) when drawing just a simple triangle!

Is there any way to speed this up? Or better yet, is there a way to avoid using the timer at all?

Thanks!