Jump to content
  • Advertisement
Sign in to follow this  
petercnm

frame rate

This topic is 5025 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Quote:
Where have you seen a modern laptop display with a 15 Hz refresh rate?

Lol I was gonna ask the same thing myself

Share this post


Link to post
Share on other sites
@nife
Lol! Have I said that I saw it? I was replying to

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!