[Bf-blender-cvs] [07cb5a21a0d] pygpu_extensions: Fix Unused var

Germano Cavalcante noreply at git.blender.org
Fri Feb 12 16:17:22 CET 2021


Commit: 07cb5a21a0d837f4bdde69d34bd9ec3c248db445
Author: Germano Cavalcante
Date:   Fri Feb 12 12:06:55 2021 -0300
Branches: pygpu_extensions
https://developer.blender.org/rB07cb5a21a0d837f4bdde69d34bd9ec3c248db445

Fix Unused var

===================================================================

M	source/blender/python/gpu/gpu_py_framebuffer.c

===================================================================

diff --git a/source/blender/python/gpu/gpu_py_framebuffer.c b/source/blender/python/gpu/gpu_py_framebuffer.c
index 1cc812237e0..aa0a424952b 100644
--- a/source/blender/python/gpu/gpu_py_framebuffer.c
+++ b/source/blender/python/gpu/gpu_py_framebuffer.c
@@ -430,7 +430,7 @@ static PyGetSetDef py_framebuffer_getseters[] = {
 };
 
 static struct PyMethodDef py_framebuffer_methods[] = {
-    {"bind", (PyCFunction)py_framebuffer_bind, METH_NOARGS},
+    {"bind", (PyCFunction)py_framebuffer_bind, METH_NOARGS, py_framebuffer_bind_doc},
     {"free", (PyCFunction)py_framebuffer_free, METH_NOARGS, py_framebuffer_free_doc},
     {"clear",
      (PyCFunction)py_framebuffer_clear,



More information about the Bf-blender-cvs mailing list