frame rate
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
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
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?
Quote:Where have you seen a modern laptop display with a 15 Hz refresh rate?
Lol I was gonna ask the same thing myself
@nife
Lol! Have I said that I saw it? I was replying to
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
Popular Topics
Advertisement