Fix attempt for void scene in non advanced pipeline

This commit is contained in:
Vincent Lejeune 2015-02-01 19:38:47 +01:00
parent 2c8639f105
commit 1e0a9022a3

View File

@ -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));