diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-24 09:58:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-24 09:59:39 +0300 |
commit | dc6153453aa3cbd7b68c89f28e56d7717ab9003a (patch) | |
tree | f7129ebd7604c53d87044f23667ce66a515c2150 /source/blender/python/generic/bgl.c | |
parent | 7f326011596723ef2959f0715e345f9a4b8e76ad (diff) |
Cleanup: comments (remove outdated & update)
Diffstat (limited to 'source/blender/python/generic/bgl.c')
-rw-r--r-- | source/blender/python/generic/bgl.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c index e597855168e..6dc606f3dca 100644 --- a/source/blender/python/generic/bgl.c +++ b/source/blender/python/generic/bgl.c @@ -636,7 +636,13 @@ PyTypeObject BGL_bufferType = { NULL /*tp_del*/ }; - +/** + * Create a buffer object + * + * \param dimensions: An array of ndimensions integers representing the size of each dimension. + * \param initbuffer: When not NULL holds a contiguous buffer + * with the correct format from which the buffer will be initialized + */ Buffer *BGL_MakeBuffer(int type, int ndimensions, int *dimensions, void *initbuffer) { Buffer *buffer; |