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:
authorGermano Cavalcante <germano.costa@ig.com.br>2022-02-18 04:11:08 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2022-02-18 04:11:08 +0300
commit59aaf2036eeea0f32a9b65384ca73e5dbf229978 (patch)
tree8fb67397d2e6df6cb3c0fc3f9d91bc941e1d1693 /source/blender/python/gpu/gpu_py_state.c
parent9153bf24cbf2402d57a24a1cd4e523e0c644bf08 (diff)
Fix wrong method name in gpu documentation
`use_program_point_size` --> `program_point_size_set`.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_state.c')
-rw-r--r--source/blender/python/gpu/gpu_py_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_state.c b/source/blender/python/gpu/gpu_py_state.c
index 2c5012216f2..059e6ceb749 100644
--- a/source/blender/python/gpu/gpu_py_state.c
+++ b/source/blender/python/gpu/gpu_py_state.c
@@ -326,7 +326,7 @@ static PyObject *pygpu_state_front_facing_set(PyObject *UNUSED(self), PyObject *
}
PyDoc_STRVAR(pygpu_state_program_point_size_set_doc,
- ".. function:: use_program_point_size(enable)\n"
+ ".. function:: program_point_size_set(enable)\n"
"\n"
" If enabled, the derived point size is taken from the (potentially clipped) "
"shader builtin gl_PointSize.\n"