Revision: 2459 http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2459&view=rev Author: rorthomas Date: 2012-03-14 20:49:20 +0000 (Wed, 14 Mar 2012) Log Message: ----------- minor fixes of non used code
Modified Paths: -------------- trunk/source/main/gameplay/RoRFrameListener.cpp Modified: trunk/source/main/gameplay/RoRFrameListener.cpp =================================================================== --- trunk/source/main/gameplay/RoRFrameListener.cpp 2012-02-26 23:06:23 UTC (rev 2458) +++ trunk/source/main/gameplay/RoRFrameListener.cpp 2012-03-14 20:49:20 UTC (rev 2459) @@ -6590,8 +6590,7 @@ void RoRFrameListener::updateGFXDebugging(float dt) { #ifdef USE_SKIA - if(dt == 0) return; - rot += dt * 5.0f; + rot += dt; // paint Ogre::Canvas::Context* ctx = mCanvasTextureClock1->getContext(); @@ -6622,14 +6621,14 @@ } ctx->restore(); - ctx->fillText("dt: " + TOSTRING(dt), 0, 10); + ctx->fillText("dt: " + TOSTRING(dt), 10, 10); const RenderTarget::FrameStats &stats = Ogre::Root::getSingleton().getAutoCreatedWindow()->getStatistics(); - ctx->fillText("fps: " + TOSTRING(stats.lastFPS), 0, 20); + ctx->fillText("fps: " + TOSTRING(stats.lastFPS), 10, 20); - ctx->lineWidth(1); - ctx->strokeStyle(Ogre::ColourValue::White); - ctx->fillStyle(Ogre::ColourValue::White); + ctx->lineWidth(2); + ctx->strokeStyle(Ogre::ColourValue::Black); + ctx->fillStyle(Ogre::ColourValue::Black); ctx->lineCap(Ogre::Canvas::LineCap_Square); ctx->beginPath(); ctx->moveTo(x, ctx->height()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Rigsofrods-devel mailing list Rigsofrods-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel