Fix wrong method name in gpu documentation

`use_program_point_size` --> `program_point_size_set`.
This commit is contained in:
Germano Cavalcante 2022-02-17 22:11:08 -03:00
parent 9153bf24cb
commit 59aaf2036e
Notes: blender-bot 2023-02-14 06:42:54 +01:00
Referenced by issue #85709, Offscreen rendering with bgl.glEnable(bgl.GL_DEPTH_TEST) results in black images (affects Windows only)
1 changed files with 1 additions and 1 deletions

View File

@ -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"