diff options
Diffstat (limited to 'src/clouds.cpp')
-rw-r--r-- | src/clouds.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clouds.cpp b/src/clouds.cpp index d754cc15e..8981b42d9 100644 --- a/src/clouds.cpp +++ b/src/clouds.cpp @@ -21,6 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "noise.h" #include "constants.h" #include "debug.h" +#include "profiler.h" +#include "main.h" // For g_profiler Clouds::Clouds( scene::ISceneNode* parent, @@ -76,6 +78,8 @@ void Clouds::render() if(SceneManager->getSceneNodeRenderPass() != scene::ESNRP_SOLID) return; + ScopeProfiler sp(g_profiler, "Rendering of clouds, avg", SPT_AVG); + driver->setTransform(video::ETS_WORLD, AbsoluteTransformation); driver->setMaterial(m_material); |