frame rate

Started by
4 comments, last by wega 19 years, 1 month ago
Hello, i've got a small openGL program ( rotating, textured cube). When i run it on an old PC ( P3, standard graphics card), i have a frame rate of 60. When i run it on my laptop (Athlon-xp, mobility radeon 9200), the frame rate is 15. I checked the settings for display, set them all to max. performance i.s.o. quality, but no changes. Any suggestions ? thanks Peter
Advertisement
Dunno. Try turning the "Vertical Sync" (Wait for vertical sync) off.
Thanks for your reply. Tried the vert. sync but result was the same.
i found that the problem was in
"SDL_SetVideoMode(1024, 768, 16, SDL_OPENGLBLIT | SDL_FULLSCREEN );"
On my old machine the bpp was set to 16, which was ok.
On the newer laptop bpp needed to be set to 32.
Now frame rate is appr. 850, so no reason to complain anymore.
Thanks

Quote:Original post by wega
Dunno. Try turning the "Vertical Sync" (Wait for vertical sync) off.


Sorry, almost off-topic, but I just can't seem to help myself:

Where have you seen a modern laptop display with a 15 Hz refresh rate?
Killers don't end up in jailThey end up on a high-score!
Quote:Where have you seen a modern laptop display with a 15 Hz refresh rate?

Lol I was gonna ask the same thing myself
_______________________________ ________ _____ ___ __ _`By offloading cognitive load to the computer, programmers are able to design more elegant systems' - Unununium OS regarding Python
@nife
Lol! Have I said that I saw it? I was replying to

Quote:petercnm
... , i have a frame rate of 60.

This topic is closed to new replies.

Advertisement