GPU Python: rename methods "shader_from_builtin" and "shader_code_from_builtin" to "from_builtin" and "code_from_builtin".

This commit is contained in:
2018-10-04 13:51:21 -03:00
parent b183f57a9e
commit ee6c8be183

View File

@@ -765,10 +765,10 @@ static struct PyMethodDef bpygpu_shader_module_methods[] = {
{"unbind",
(PyCFunction)bpygpu_shader_unbind,
METH_NOARGS, bpygpu_shader_unbind_doc},
{"shader_from_builtin",
{"from_builtin",
(PyCFunction)bpygpu_shader_from_builtin,
METH_O, bpygpu_shader_from_builtin_doc},
{"shader_code_from_builtin",
{"code_from_builtin",
(PyCFunction)bpygpu_shader_code_from_builtin,
METH_O, bpygpu_shader_code_from_builtin_doc},
{NULL, NULL, 0, NULL}