OpenGL2: Merge bsp surface structs into a single struct, and more cleanup.
This commit is contained in:
parent
01efe4a538
commit
535d0ea70e
9 changed files with 227 additions and 616 deletions
|
@ -562,8 +562,6 @@ static qboolean R_LoadMD3(model_t * mod, int lod, void *buffer, int bufferSize,
|
|||
tri->indexes[2] = LittleLong(md3Tri->indexes[2]);
|
||||
}
|
||||
|
||||
R_CalcSurfaceTriangleNeighbors(surf->numTriangles, surf->triangles);
|
||||
|
||||
// swap all the XyzNormals
|
||||
surf->numVerts = md3Surf->numVerts;
|
||||
surf->verts = v = ri.Hunk_Alloc(sizeof(*v) * (md3Surf->numVerts * md3Surf->numFrames), h_low);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue