diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-04-21 23:15:13 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-04-21 23:15:13 +0300 |
commit | 0f66dbea904f0244fc8e2eff16be35a644971144 (patch) | |
tree | 98037d52c53f4768b23ab6ac5bfee04e7e543586 /source/blender/python/gpu | |
parent | aed9b6faee39f8049ca9a072f37d2c0c2ea3a760 (diff) |
Fix wrong flag for 'GPUFrameBuffer.viewport_get'
`GPUFrameBuffer.viewport_get` has no args.
Diffstat (limited to 'source/blender/python/gpu')
-rw-r--r-- | source/blender/python/gpu/gpu_py_framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_framebuffer.c b/source/blender/python/gpu/gpu_py_framebuffer.c index 34d17bb10c3..bc393aaafa4 100644 --- a/source/blender/python/gpu/gpu_py_framebuffer.c +++ b/source/blender/python/gpu/gpu_py_framebuffer.c @@ -492,7 +492,7 @@ static struct PyMethodDef pygpu_framebuffer__tp_methods[] = { pygpu_framebuffer_viewport_set_doc}, {"viewport_get", (PyCFunction)pygpu_framebuffer_viewport_get, - METH_VARARGS, + METH_NOARGS, pygpu_framebuffer_viewport_get_doc}, #ifdef BPYGPU_USE_GPUOBJ_FREE_METHOD {"free", (PyCFunction)pygpu_framebuffer_free, METH_NOARGS, pygpu_framebuffer_free_doc}, |