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-09-27 14:15:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-27 14:15:55 +0300
commit14e7fcfddea30911a96f1272e03e7d1ae4cb25f5 (patch)
tree3f4b994a3bf28951ce4a9f2c7ad7b79569eb11ce /source/blender/python/gpu/gpu_py_element.c
parentc722728b7f001e91db0f6a228e05459e97654928 (diff)
Cleanup: warnings
Diffstat (limited to 'source/blender/python/gpu/gpu_py_element.c')
-rw-r--r--source/blender/python/gpu/gpu_py_element.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/gpu/gpu_py_element.c b/source/blender/python/gpu/gpu_py_element.c
index 1683def7ec8..63d1f24a3ef 100644
--- a/source/blender/python/gpu/gpu_py_element.c
+++ b/source/blender/python/gpu/gpu_py_element.c
@@ -113,8 +113,8 @@ static PyObject *bpygpu_IndexBuf_new(PyTypeObject *UNUSED(type), PyObject *args,
index_len *= pybuffer.shape[1];
}
- /* The `vertex_len` parameter is only used for asserts in the Debug build.
- /* Not very useful in python since scripts are often tested in Release build.
+ /* The `vertex_len` parameter is only used for asserts in the Debug build. */
+ /* Not very useful in python since scripts are often tested in Release build. */
/* Use `INT_MAX` instead of the actual number of vertices. */
GPU_indexbuf_init(
&builder, params.type_id, index_len, INT_MAX);
@@ -144,8 +144,8 @@ static PyObject *bpygpu_IndexBuf_new(PyTypeObject *UNUSED(type), PyObject *args,
index_len = seq_len * verts_per_prim;
- /* The `vertex_len` parameter is only used for asserts in the Debug build.
- /* Not very useful in python since scripts are often tested in Release build.
+ /* The `vertex_len` parameter is only used for asserts in the Debug build. */
+ /* Not very useful in python since scripts are often tested in Release build. */
/* Use `INT_MAX` instead of the actual number of vertices. */
GPU_indexbuf_init(
&builder, params.type_id, index_len, INT_MAX);