Revert changes from main commits that were merged into blender-v4.1-release
The last good commit wasf57e4c5b98. After this one more fix was committed, this one is preserved as well:67bd678887.
This commit is contained in:
@@ -111,20 +111,6 @@ static PyObject *pygpu_max_textures_frag_get(PyObject * /*self*/)
|
||||
return PyLong_FromLong(GPU_max_textures_frag());
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(
|
||||
/* Wrap. */
|
||||
pygpu_max_images_get_doc,
|
||||
".. function:: max_images_get()\n"
|
||||
"\n"
|
||||
" Get maximum supported number of image units.\n"
|
||||
"\n"
|
||||
" :return: Number of image units.\n"
|
||||
" :rtype: int\n");
|
||||
static PyObject *pygpu_max_images_get(PyObject * /*self*/)
|
||||
{
|
||||
return PyLong_FromLong(GPU_max_images());
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(
|
||||
/* Wrap. */
|
||||
pygpu_max_uniforms_vert_get_doc,
|
||||
@@ -359,7 +345,6 @@ static PyMethodDef pygpu_capabilities__tp_methods[] = {
|
||||
(PyCFunction)pygpu_max_textures_frag_get,
|
||||
METH_NOARGS,
|
||||
pygpu_max_textures_frag_get_doc},
|
||||
{"max_images_get", (PyCFunction)pygpu_max_images_get, METH_NOARGS, pygpu_max_images_get_doc},
|
||||
{"max_uniforms_vert_get",
|
||||
(PyCFunction)pygpu_max_uniforms_vert_get,
|
||||
METH_NOARGS,
|
||||
|
||||
Reference in New Issue
Block a user