diff options
author | Thomas Szepe <HG1_public@gmx.net> | 2016-07-02 19:38:05 +0300 |
---|---|---|
committer | Thomas Szepe <HG1_public@gmx.net> | 2016-07-02 19:38:05 +0300 |
commit | 0d4961cc52ce3a66da4f5686a4e63a46aed6de67 (patch) | |
tree | 5d195e1c9efbe339cd10db0b589f3437a5a43408 /source/blender/python/generic/bgl.c | |
parent | ee90badbd5b3cfc398f9c793a04a1df71ea042b7 (diff) |
Fix typo in bgl.Buffer report function
A GL_INT buffer was reported as GL_BYTE.
Diffstat (limited to 'source/blender/python/generic/bgl.c')
-rw-r--r-- | source/blender/python/generic/bgl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c index 4bd2e9d8d62..3ea10228ad4 100644 --- a/source/blender/python/generic/bgl.c +++ b/source/blender/python/generic/bgl.c @@ -983,7 +983,7 @@ static PyObject *Buffer_repr(Buffer *self) switch (self->type) { case GL_BYTE: typestr = "GL_BYTE"; break; case GL_SHORT: typestr = "GL_SHORT"; break; - case GL_INT: typestr = "GL_BYTE"; break; + case GL_INT: typestr = "GL_INT"; break; case GL_FLOAT: typestr = "GL_FLOAT"; break; case GL_DOUBLE: typestr = "GL_DOUBLE"; break; default: typestr = "UNKNOWN"; break; |