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:
Diffstat (limited to 'source/blender/python/gpu/gpu_py_uniformbuffer.c')
-rw-r--r--source/blender/python/gpu/gpu_py_uniformbuffer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_uniformbuffer.c b/source/blender/python/gpu/gpu_py_uniformbuffer.c
index d3d9ed9b6da..f5a0af860b4 100644
--- a/source/blender/python/gpu/gpu_py_uniformbuffer.c
+++ b/source/blender/python/gpu/gpu_py_uniformbuffer.c
@@ -68,7 +68,12 @@ static PyObject *pygpu_uniformbuffer__tp_new(PyTypeObject *UNUSED(self),
char err_out[256] = "unknown error. See console";
static const char *_keywords[] = {"data", NULL};
- static _PyArg_Parser _parser = {"O!:GPUUniformBuf.__new__", _keywords, 0};
+ static _PyArg_Parser _parser = {
+ "O!" /* `data` */
+ ":GPUUniformBuf.__new__",
+ _keywords,
+ 0,
+ };
if (!_PyArg_ParseTupleAndKeywordsFast(args, kwds, &_parser, &BPyGPU_BufferType, &pybuffer_obj)) {
return NULL;
}