frames per second wrong?
In my app I am using a class to determine FPS ( think I stole it from GameTutorials). I´m running on a "naked" application like 75FPS. When I was using Ogre, I had FPS like 400 (naked app).
Is there something wrong?
Quote:Original post by tHiSiSbOb
We'd have to see your code to say anything...
As I said, nothing special ...
void CFrameTime::Update(void) { m_fCurrentTime = (GLfloat)SDL_GetTicks(); m_fDeltaTime = m_fCurrentTime - m_fFrameTime; m_fFrameTime = m_fCurrentTime; ++m_fFPSCounter; if ( (m_fCurrentTime - m_fLastTime) > 1000.0f ) { m_fLastTime = m_fCurrentTime; m_fFPS = m_fFPSCounter; m_fFPSCounter = 0.0f; } }
Quote:Original post by lem77
I´m running on a "naked" application like 75FPS.
Seems like your framerate is limited by your monitor refresh rate. You can try and disable the vertical sync via your graphics driver panel.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement