Gawain: Fix codestyle.
This commit is contained in:
parent
2bb08f0ad2
commit
35ac496dbd
@ -40,7 +40,7 @@ void GWN_vertbuf_init_with_format(Gwn_VertBuf*, const Gwn_VertFormat*);
|
||||
|
||||
unsigned GWN_vertbuf_size_get(const Gwn_VertBuf*);
|
||||
void GWN_vertbuf_data_alloc(Gwn_VertBuf*, unsigned v_ct);
|
||||
void GWN_vertbuf_data_set(Gwn_VertBuf*, unsigned v_ct, void *data, bool pass_ownership);
|
||||
void GWN_vertbuf_data_set(Gwn_VertBuf*, unsigned v_ct, void* data, bool pass_ownership);
|
||||
void GWN_vertbuf_data_resize(Gwn_VertBuf*, unsigned v_ct);
|
||||
|
||||
// The most important set_attrib variant is the untyped one. Get it right first.
|
||||
|
@ -107,7 +107,7 @@ void GWN_vertbuf_data_alloc(Gwn_VertBuf* verts, unsigned v_ct)
|
||||
verts->data = malloc(GWN_vertbuf_size_get(verts));
|
||||
}
|
||||
|
||||
void GWN_vertbuf_data_set(Gwn_VertBuf* verts, unsigned v_ct, void *data, bool pass_ownership)
|
||||
void GWN_vertbuf_data_set(Gwn_VertBuf* verts, unsigned v_ct, void* data, bool pass_ownership)
|
||||
{
|
||||
Gwn_VertFormat* format = &verts->format;
|
||||
if (!format->packed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user