fixed a bug about RenderablePrimitiveCreater::SetIBO
This commit is contained in:
parent
f58ce4f98b
commit
5559178e7c
@ -33,9 +33,9 @@ public:
|
||||
return(true);
|
||||
}
|
||||
|
||||
bool SetIBO(const IndexType &it,const void *buf)
|
||||
bool SetIBO(const IndexType &it,const void *buf,const uint32_t index_count)
|
||||
{
|
||||
IndexBuffer *ibo=rr->CreateIBO(it,vertex_count,buf);
|
||||
IndexBuffer *ibo=rr->CreateIBO(it,index_count,buf);
|
||||
|
||||
if(!ibo)
|
||||
return(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user