From 20959f970a622737da4d00169230626539c00f83 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Tue, 13 May 2014 01:12:24 +0200 Subject: [PATCH] Avoid displacement related fbo bind in non advanced pipeline --- src/graphics/render.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/graphics/render.cpp b/src/graphics/render.cpp index 42e7628c8..13e71a5c8 100644 --- a/src/graphics/render.cpp +++ b/src/graphics/render.cpp @@ -331,6 +331,8 @@ void IrrDriver::renderScene(scene::ICameraSceneNode * const camnode, std::vector renderParticles(); PROFILER_POP_CPU_MARKER(); } + if (!UserConfigParams::m_dynamic_lights) + return; // Render displacement {