- implement model vertex buffer and draw MD2 models using it instead of using the GLCommands from the model.

This commit is contained in:
Christoph Oelckers 2014-06-29 23:24:16 +02:00
commit 1efc2938b7
10 changed files with 121 additions and 136 deletions

View file

@ -233,6 +233,7 @@ void FMD3Model::BuildVertexBuffer(FModelVertexBuffer *buf)
buf->ibo_shadowdata.Push(surf->tris[k].VertIndex[l]);
}
}
surf->icount = buf->ibo_shadowdata.Size() - surf->iindex;
}
}