summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2018-01-23 15:24:41 +0000
committerPaul Lemire <paul.lemire@kdab.com>2018-01-23 15:36:23 +0000
commitf6ae313f0628adbd222bebcf41c9fa42059dc060 (patch)
treeabc47e36a3ff417d023a3db2f19ae99d5fd5b167 /src/render/graphicshelpers
parent947d5aa3ffffbf3387f53259720459562b4109c8 (diff)
Add missing attribute types to GL 3.3 helper
Change-Id: Icda934e876b15f66d9121866c9f298ba9cc5b732 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers')
-rw-r--r--src/render/graphicshelpers/graphicshelpergl3_3.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3_3.cpp b/src/render/graphicshelpers/graphicshelpergl3_3.cpp
index 40c2bafeb..b2512d84a 100644
--- a/src/render/graphicshelpers/graphicshelpergl3_3.cpp
+++ b/src/render/graphicshelpers/graphicshelpergl3_3.cpp
@@ -292,6 +292,15 @@ void GraphicsHelperGL3_3::vertexAttributePointer(GLenum shaderDataType,
case GL_FLOAT_VEC2:
case GL_FLOAT_VEC3:
case GL_FLOAT_VEC4:
+ case GL_FLOAT_MAT2:
+ case GL_FLOAT_MAT2x3:
+ case GL_FLOAT_MAT2x4:
+ case GL_FLOAT_MAT3:
+ case GL_FLOAT_MAT3x2:
+ case GL_FLOAT_MAT3x4:
+ case GL_FLOAT_MAT4x2:
+ case GL_FLOAT_MAT4x3:
+ case GL_FLOAT_MAT4:
m_funcs->glVertexAttribPointer(index, size, type, normalized, stride, pointer);
break;