fixed a bug in PrimitiveCreater::Finish
This commit is contained in:
parent
cefea7229d
commit
3db94948c5
@ -107,7 +107,7 @@ namespace hgl
|
||||
|
||||
Primitive *PrimitiveCreater::Finish()
|
||||
{
|
||||
const uint si_count=vil->GetCount();
|
||||
const uint si_count=vil->GetCount(VertexInputGroup::Basic);
|
||||
|
||||
if(vbo_map.GetCount()!=si_count)
|
||||
return(nullptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user