diff --git a/OpenGL/arrays/ctypesarrays.py b/OpenGL/arrays/ctypesarrays.py index 2ae50aa4..99c7cb7c 100644 --- a/OpenGL/arrays/ctypesarrays.py +++ b/OpenGL/arrays/ctypesarrays.py @@ -136,4 +136,13 @@ def dimensions( cls, value, typeCode=None ): GL_1_1.GL_CHAR: _types.GLchar, GL_1_1.GL_BYTE: _types.GLbyte, GL_1_1.GL_UNSIGNED_BYTE: _types.GLubyte, + 'f': _types.GLfloat, + 'd': _types.GLdouble, + 'i': _types.GLint, + 'I': _types.GLuint, + 'h': _types.GLshort, + 'H': _types.GLushort, + 'b': _types.GLbyte, + 'B': _types.GLubyte, + 's': _types.GLchar, }