Cleanup: style

This commit is contained in:
2018-10-07 17:49:22 +11:00
parent db1a04313c
commit ee2e30683c
6 changed files with 34 additions and 27 deletions

View File

@@ -146,10 +146,9 @@ static int bpygpu_ParseVertFetchMode(PyObject *o, void *p)
static int get_default_fetch_mode(GPUVertCompType type)
{
switch (type)
{
case GPU_COMP_F32: return GPU_FETCH_FLOAT;
default: return -1;
switch (type) {
case GPU_COMP_F32: return GPU_FETCH_FLOAT;
default: return -1;
}
}