aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-02 13:44:29 +0000
committerFilippos Karapetis2007-07-02 13:44:29 +0000
commit7782ac40b8454a1057df85bfe19b8edc4963a02f (patch)
tree8016891e42ff7ce134b2ae62895789aca9952858
parent99df4dd7e29541e1af7bee6ab67439af73c0c263 (diff)
downloadscummvm-rg350-7782ac40b8454a1057df85bfe19b8edc4963a02f.tar.gz
scummvm-rg350-7782ac40b8454a1057df85bfe19b8edc4963a02f.tar.bz2
scummvm-rg350-7782ac40b8454a1057df85bfe19b8edc4963a02f.zip
Renamed a variable, to avoid confusing it with another variable with the same name
svn-id: r27853
-rw-r--r--engines/saga/render.cpp6
-rw-r--r--engines/saga/render.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp
index 4e5d98bbf9..16536f762e 100644
--- a/engines/saga/render.cpp
+++ b/engines/saga/render.cpp
@@ -77,7 +77,7 @@ void Render::drawScene() {
assert(_initialized);
- _frameCount++;
+ _renderedFrameCount++;
backBufferSurface = _vm->_gfx->getBackBuffer();
@@ -183,8 +183,8 @@ void Render::fpsTimerCallback(void *refCon) {
}
void Render::fpsTimer(void) {
- _fps = _frameCount;
- _frameCount = 0;
+ _fps = _renderedFrameCount;
+ _renderedFrameCount = 0;
}
} // End of namespace Saga
diff --git a/engines/saga/render.h b/engines/saga/render.h
index c97de8efc9..4c6e3ee5b1 100644
--- a/engines/saga/render.h
+++ b/engines/saga/render.h
@@ -85,7 +85,7 @@ private:
Surface _backGroundSurface;
unsigned int _fps;
- unsigned int _frameCount;
+ unsigned int _renderedFrameCount;
uint32 _flags;
};