Fixed uninitialized variables (was causing crash on OS X).

This commit is contained in:
David Williams 2014-04-14 21:08:05 +02:00
parent 45302fde02
commit fe3f2d589e

View File

@ -7,6 +7,15 @@ using namespace std;
OpenGLWidget::OpenGLWidget(QWidget *parent)
:QGLWidget(parent)
,m_uBeginIndex(0)
,m_uEndIndex(0)
,indexBuffer(0)
,vertexBuffer(0)
,m_uBeginIndexLow(0)
,m_uEndIndexLow(0)
,indexBufferLow(0)
,vertexBufferLow(0)
,m_xRotation(0)
,m_yRotation(0)
{