Cleanup: clang-format
This commit is contained in:
@@ -213,7 +213,10 @@ static bool pygpu_vertbuf_fill_impl(GPUVertBuf *vbo,
|
||||
return ok;
|
||||
}
|
||||
|
||||
static int pygpu_vertbuf_fill(GPUVertBuf *buf, int id, PyObject *py_seq_data, const char *error_prefix)
|
||||
static int pygpu_vertbuf_fill(GPUVertBuf *buf,
|
||||
int id,
|
||||
PyObject *py_seq_data,
|
||||
const char *error_prefix)
|
||||
{
|
||||
if (id < 0 || id >= GPU_vertbuf_get_format(buf)->attr_len) {
|
||||
PyErr_Format(PyExc_ValueError, "Format id %d out of range", id);
|
||||
|
||||
Reference in New Issue
Block a user