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:
authormano-wii <germano.costa@ig.com.br>2018-10-07 18:21:09 +0300
committermano-wii <germano.costa@ig.com.br>2018-10-07 18:21:09 +0300
commit91bfea5b052a6276654eb4f71c71707cda3d4305 (patch)
tree0fbf7bbd80306a97a8bd8acf77aeb7fd31d78220 /source/blender/python/gpu
parentee2e30683c1c4ebe14096d8e5f64a5a0099343e6 (diff)
CPython: py_capi_utils: use more descriptive names for format string utilities.
Diffstat (limited to 'source/blender/python/gpu')
-rw-r--r--source/blender/python/gpu/gpu_py_element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_element.c b/source/blender/python/gpu/gpu_py_element.c
index 379cd0836ca..72b593ab432 100644
--- a/source/blender/python/gpu/gpu_py_element.c
+++ b/source/blender/python/gpu/gpu_py_element.c
@@ -92,7 +92,7 @@ static PyObject *bpygpu_IndexBuf_new(PyTypeObject *UNUSED(type), PyObject *args,
}
if (pybuffer.itemsize != 4 ||
- PyC_Formatstr_is_float(PyC_Formatstr_get(pybuffer.format)))
+ PyC_Formatchar_is_floating_type(PyC_Formatchar_get(pybuffer.format)))
{
PyErr_Format(PyExc_ValueError,
"Each index must be an 4-bytes integer value");