Cleanup: clang-format

This commit is contained in:
2021-02-18 14:13:29 +11:00
parent aa2da44b82
commit 7e11595364
2 changed files with 10 additions and 7 deletions

View File

@@ -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);