Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-07 09:49:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-07 09:49:22 +0300
commitee2e30683c1c4ebe14096d8e5f64a5a0099343e6 (patch)
tree9a24fc58ba8dd876a0fd29d37131942f70723ee0 /source/blender/python/gpu/gpu_py_vertex_format.c
parentdb1a04313c3223250b6e6ae1b3652f0a134b8239 (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.c7
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;
}
}