- add vertex buffer based drawing for all walls and flats.
This commit is contained in:
parent
7d3beb665b
commit
f7404d20fb
7 changed files with 272 additions and 29 deletions
|
|
@ -296,6 +296,7 @@ void FFlatVertexBuffer::CreateVBO()
|
|||
{
|
||||
CreateFlatVBO();
|
||||
memcpy(map, &vbo_shadowdata[0], vbo_shadowdata.Size() * sizeof(FFlatVertex));
|
||||
mIndex = vbo_shadowdata.Size();
|
||||
}
|
||||
else if (sectors)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue