Added draw policy information in the log.
This commit is contained in:
parent
4c00d98001
commit
12155ef8ee
@ -631,11 +631,20 @@ ShaderBasedRenderer::ShaderBasedRenderer()
|
||||
m_nb_static_glowing = 0;
|
||||
|
||||
if (CVS->isAZDOEnabled())
|
||||
{
|
||||
m_geometry_passes = new GeometryPasses<MultidrawPolicy>();
|
||||
Log::info("ShaderBasedRenderer", "Geometry will be rendered with multidraw policy.");
|
||||
}
|
||||
else if (CVS->supportsIndirectInstancingRendering())
|
||||
{
|
||||
m_geometry_passes = new GeometryPasses<IndirectDrawPolicy>();
|
||||
Log::info("ShaderBasedRenderer", "Geometry will be rendered with indirect draw policy.");
|
||||
}
|
||||
else
|
||||
{
|
||||
m_geometry_passes = new GeometryPasses<GL3DrawPolicy>();
|
||||
Log::info("ShaderBasedRenderer", "Geometry will be rendered with GL3 policy.");
|
||||
}
|
||||
|
||||
m_post_processing = new PostProcessing(irr_driver->getVideoDriver());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user