diff options
author | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2014-11-18 09:49:02 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2014-11-18 10:59:39 +0200 |
commit | 11ed44c13c227c73d9b2ec416aed54b00bda2a0a (patch) | |
tree | d54bde658b37021d254167cc1de96d43c810f9f6 /src/datavisualization/utils/abstractobjecthelper_p.h | |
parent | d22799efdb445a120c636bfe27ab55c11dc0f43b (diff) |
Support larger custom meshes.
Vertex index was limited to unsigned short, meaning even slightly
complex meshes couldn't be used. Changed to unsigned int.
Also removed unused vertex indexer methods.
Change-Id: Iebe62bd3a501dc79ee2857cca28ac0d05bd4a55e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/utils/abstractobjecthelper_p.h')
-rw-r--r-- | src/datavisualization/utils/abstractobjecthelper_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/datavisualization/utils/abstractobjecthelper_p.h b/src/datavisualization/utils/abstractobjecthelper_p.h index bca765d7..b141a132 100644 --- a/src/datavisualization/utils/abstractobjecthelper_p.h +++ b/src/datavisualization/utils/abstractobjecthelper_p.h @@ -45,7 +45,6 @@ public: virtual GLuint uvBuf(); GLuint elementBuf(); GLuint indexCount(); - GLuint indicesType(); public: GLuint m_vertexbuffer; @@ -55,8 +54,6 @@ public: GLuint m_indexCount; GLboolean m_meshDataLoaded; - - GLuint m_indicesType; }; QT_END_NAMESPACE_DATAVISUALIZATION |