Fixed a but that compare PrimitiveDataBuffer wrong.
This commit is contained in:
parent
68089e13bc
commit
cf81e7bcff
@ -279,7 +279,7 @@ void MaterialRenderList::Stat()
|
|||||||
{
|
{
|
||||||
ro=rn->scene_node->GetRenderable();
|
ro=rn->scene_node->GetRenderable();
|
||||||
|
|
||||||
if(*last_data_buffer!=*ro->GetDataBuffer())
|
if(*last_data_buffer==*ro->GetDataBuffer())
|
||||||
if(*last_render_data==*ro->GetRenderData())
|
if(*last_render_data==*ro->GetRenderData())
|
||||||
{
|
{
|
||||||
++ri->instance_count;
|
++ri->instance_count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user