From 1e0a9022a30393a5af52cf2f5b5d222c6633aebd Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 1 Feb 2015 19:38:47 +0100 Subject: [PATCH] Fix attempt for void scene in non advanced pipeline --- src/graphics/render_geometry.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/graphics/render_geometry.cpp b/src/graphics/render_geometry.cpp index 82b10fab5..3a822a7e1 100644 --- a/src/graphics/render_geometry.cpp +++ b/src/graphics/render_geometry.cpp @@ -614,6 +614,9 @@ void IrrDriver::renderSolidSecondPass() glMakeTextureHandleResidentARB(DepthHandle); } + if (CVS->supportsIndirectInstancingRendering()) + glBindBuffer(GL_DRAW_INDIRECT_BUFFER, SolidPassCmd::getInstance()->drawindirectcmd); + { ScopedGPUTimer Timer(getGPUTimer(Q_SOLID_PASS2));