Missed some instances of buffer;
@@ -53,21 +53,21 @@ typedef struct {
Mesh* lovrMeshCreate(int size, MeshFormat* format, MeshDrawMode drawMode, MeshUsage usage);
void lovrMeshDestroy(const Ref* ref);
-void lovrMeshDraw(Mesh* buffer, mat4 transform);
-MeshFormat lovrMeshGetVertexFormat(Mesh* buffer);
-MeshDrawMode lovrMeshGetDrawMode(Mesh* buffer);
-int lovrMeshSetDrawMode(Mesh* buffer, MeshDrawMode drawMode);
-int lovrMeshGetVertexCount(Mesh* buffer);
-int lovrMeshGetVertexSize(Mesh* buffer);
-void* lovrMeshGetScratchVertex(Mesh* buffer);
-void lovrMeshGetVertex(Mesh* buffer, int index, void* dest);
-void lovrMeshSetVertex(Mesh* buffer, int index, void* vertex);
-void lovrMeshSetVertices(Mesh* buffer, void* vertices, int size);
-unsigned int* lovrMeshGetVertexMap(Mesh* buffer, int* count);
-void lovrMeshSetVertexMap(Mesh* buffer, unsigned int* map, int count);
-char lovrMeshIsRangeEnabled(Mesh* buffer);
-void lovrMeshSetRangeEnabled(Mesh* buffer, char isEnabled);
-void lovrMeshGetDrawRange(Mesh* buffer, int* start, int* count);
-int lovrMeshSetDrawRange(Mesh* buffer, int start, int count);
-Texture* lovrMeshGetTexture(Mesh* buffer);
-void lovrMeshSetTexture(Mesh* buffer, Texture* texture);
+void lovrMeshDraw(Mesh* mesh, mat4 transform);
+MeshFormat lovrMeshGetVertexFormat(Mesh* mesh);
+MeshDrawMode lovrMeshGetDrawMode(Mesh* mesh);
+int lovrMeshSetDrawMode(Mesh* mesh, MeshDrawMode drawMode);
+int lovrMeshGetVertexCount(Mesh* mesh);
+int lovrMeshGetVertexSize(Mesh* mesh);
+void* lovrMeshGetScratchVertex(Mesh* mesh);
+void lovrMeshGetVertex(Mesh* mesh, int index, void* dest);
+void lovrMeshSetVertex(Mesh* mesh, int index, void* vertex);
+void lovrMeshSetVertices(Mesh* mesh, void* vertices, int size);
+unsigned int* lovrMeshGetVertexMap(Mesh* mesh, int* count);
+void lovrMeshSetVertexMap(Mesh* mesh, unsigned int* map, int count);
+char lovrMeshIsRangeEnabled(Mesh* mesh);
+void lovrMeshSetRangeEnabled(Mesh* mesh, char isEnabled);
+void lovrMeshGetDrawRange(Mesh* mesh, int* start, int* count);
+int lovrMeshSetDrawRange(Mesh* mesh, int start, int count);
+Texture* lovrMeshGetTexture(Mesh* mesh);
+void lovrMeshSetTexture(Mesh* mesh, Texture* texture);
