diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-07 09:49:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-07 09:49:22 +0300 |
commit | ee2e30683c1c4ebe14096d8e5f64a5a0099343e6 (patch) | |
tree | 9a24fc58ba8dd876a0fd29d37131942f70723ee0 /source/blender/python/gpu/gpu_py_vertex_format.c | |
parent | db1a04313c3223250b6e6ae1b3652f0a134b8239 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/python/gpu/gpu_py_vertex_format.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_vertex_format.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/python/gpu/gpu_py_vertex_format.c b/source/blender/python/gpu/gpu_py_vertex_format.c index f05e7bd29d0..65d41a7baf1 100644 --- a/source/blender/python/gpu/gpu_py_vertex_format.c +++ b/source/blender/python/gpu/gpu_py_vertex_format.c @@ -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; } } |