Prepare FFlatVertexBuffer for removal
This commit is contained in:
parent
1fe5b8e26f
commit
154cb2e967
13 changed files with 102 additions and 73 deletions
|
|
@ -3248,7 +3248,7 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
|
|||
|
||||
InitRenderInfo(); // create hardware independent renderer resources for the level. This must be done BEFORE the PolyObj Spawn!!!
|
||||
Level->ClearDynamic3DFloorData(); // CreateVBO must be run on the plain 3D floor data.
|
||||
CreateVBO(screen->mVertexData, Level->sectors);
|
||||
CreateVBO(*screen->RenderState(), Level->sectors);
|
||||
meshcache.Clear();
|
||||
|
||||
screen->InitLightmap(Level->LMTextureSize, Level->LMTextureCount, Level->LMTextureData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue