From 59aaf2036eeea0f32a9b65384ca73e5dbf229978 Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Thu, 17 Feb 2022 22:11:08 -0300 Subject: Fix wrong method name in gpu documentation `use_program_point_size` --> `program_point_size_set`. --- source/blender/python/gpu/gpu_py_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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" -- cgit v1.2.3