Mercurial > fife-parpg
diff engine/core/view/camera.cpp @ 633:46b95d06c8c2
* Renamed RenderBackend::isClearNeeded() to RenderBackend::setClearScreen(). It is no longer pure virtual. Also documented it's functionality.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 06 Oct 2010 14:09:24 +0000 |
parents | 356634098bd9 |
children | 5f381fa34769 |
line wrap: on
line diff
--- a/engine/core/view/camera.cpp Tue Oct 05 19:42:54 2010 +0000 +++ b/engine/core/view/camera.cpp Wed Oct 06 14:09:24 2010 +0000 @@ -129,7 +129,7 @@ delete r_it->second; } m_renderers.clear(); - m_renderbackend->isClearNeeded(true); + m_renderbackend->setClearScreen(true); delete m_map_observer; } @@ -448,10 +448,10 @@ } if(trec1 && trec2 && trec3 && trec4) { - m_renderbackend->isClearNeeded(false); + m_renderbackend->setClearScreen(false); return false; } - m_renderbackend->isClearNeeded(true); + m_renderbackend->setClearScreen(true); return true; }