]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
reduced memory usage by around 20MB (no longer allocates interleaved
[xonotic/darkplaces.git] / gl_backend.h
index 596b4bf0a5737e491f819743d5f0ded6353f8e87..30c3c780838fa07f75657468091f537769bad229 100644 (file)
@@ -76,10 +76,7 @@ void R_Mesh_UpdateMeshBuffer(r_meshbuffer_t *buffer, const void *data, size_t si
 void R_Mesh_DestroyMeshBuffer(r_meshbuffer_t *buffer);
 void GL_Mesh_ListVBOs(qboolean printeach);
 
-r_vertexposition_t *R_Mesh_PrepareVertices_Position_Lock(int numvertices);
-qboolean R_Mesh_PrepareVertices_Position_Unlock(void); // if this returns false, you need to prepare the mesh again!
-void R_Mesh_PrepareVertices_Position_Arrays(int numvertices, const float *vertex3f);
-void R_Mesh_PrepareVertices_Position(int numvertices, const r_vertexposition_t *vertex, const r_meshbuffer_t *buffer);
+void R_Mesh_PrepareVertices_Vertex3f(int numvertices, const float *vertex3f, const r_meshbuffer_t *buffer);
 
 r_vertexgeneric_t *R_Mesh_PrepareVertices_Generic_Lock(int numvertices);
 qboolean R_Mesh_PrepareVertices_Generic_Unlock(void);