remove old PBVH VertexBufferFormat struct

Follow-up to 0722e41f9e which removed all uses of this struct. Gawain VertexFormat auto aligns attributes as described in @nicholasbishop's performance note.
This commit is contained in:
Mike Erwin 2017-05-12 23:32:37 -04:00
parent 1bcbad446e
commit 6deaab207c
1 changed files with 0 additions and 13 deletions

View File

@ -949,19 +949,6 @@ void GPU_buffer_draw_elements(GPUBuffer *UNUSED(elements), unsigned int mode, in
/* XXX: the rest of the code in this file is used for optimized PBVH
* drawing and doesn't interact at all with the buffer code above */
/* Convenience struct for building the VBO. */
typedef struct {
float co[3];
short no[3];
/* inserting this to align the 'color' field to a four-byte
* boundary; drastically increases viewport performance on my
* drivers (Gallium/Radeon) --nicholasbishop */
char pad[2];
unsigned char color[3];
} VertexBufferFormat;
struct GPU_PBVH_Buffers {
ElementList *index_buf, *index_buf_fast;
VertexBuffer *vert_buf;