Restore the old constructor for TinyRenderObjectData for backward compatibility.

This commit is contained in:
yunfeibai
2016-12-01 16:47:11 -08:00
parent a5eda81e47
commit a88272de1b
4 changed files with 56 additions and 18 deletions

View File

@@ -190,7 +190,7 @@ TinyRendererSetup::TinyRendererSetup(struct GUIHelperInterface* gui)
TinyRenderObjectData* ob = new TinyRenderObjectData(
m_internalData->m_rgbColorBuffer,
m_internalData->m_depthBuffer,
m_internalData->m_shadowBuffer,
&m_internalData->m_shadowBuffer,
&m_internalData->m_segmentationMaskBuffer,
m_internalData->m_renderObjects.size());