[Scummvm-cvs-logs] SF.net SVN: scummvm: [27853] scummvm/trunk/engines/saga
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Jul 2 15:44:30 CEST 2007
Revision: 27853
http://scummvm.svn.sourceforge.net/scummvm/?rev=27853&view=rev
Author: thebluegr
Date: 2007-07-02 06:44:29 -0700 (Mon, 02 Jul 2007)
Log Message:
-----------
Renamed a variable, to avoid confusing it with another variable with the same name
Modified Paths:
--------------
scummvm/trunk/engines/saga/render.cpp
scummvm/trunk/engines/saga/render.h
Modified: scummvm/trunk/engines/saga/render.cpp
===================================================================
--- scummvm/trunk/engines/saga/render.cpp 2007-07-02 13:36:53 UTC (rev 27852)
+++ scummvm/trunk/engines/saga/render.cpp 2007-07-02 13:44:29 UTC (rev 27853)
@@ -77,7 +77,7 @@
assert(_initialized);
- _frameCount++;
+ _renderedFrameCount++;
backBufferSurface = _vm->_gfx->getBackBuffer();
@@ -183,8 +183,8 @@
}
void Render::fpsTimer(void) {
- _fps = _frameCount;
- _frameCount = 0;
+ _fps = _renderedFrameCount;
+ _renderedFrameCount = 0;
}
} // End of namespace Saga
Modified: scummvm/trunk/engines/saga/render.h
===================================================================
--- scummvm/trunk/engines/saga/render.h 2007-07-02 13:36:53 UTC (rev 27852)
+++ scummvm/trunk/engines/saga/render.h 2007-07-02 13:44:29 UTC (rev 27853)
@@ -85,7 +85,7 @@
Surface _backGroundSurface;
unsigned int _fps;
- unsigned int _frameCount;
+ unsigned int _renderedFrameCount;
uint32 _flags;
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list