Fixed uninitialized variables (was causing crash on OS X).
This commit is contained in:
parent
45302fde02
commit
fe3f2d589e
@ -7,6 +7,15 @@ using namespace std;
|
|||||||
|
|
||||||
OpenGLWidget::OpenGLWidget(QWidget *parent)
|
OpenGLWidget::OpenGLWidget(QWidget *parent)
|
||||||
:QGLWidget(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_xRotation(0)
|
||||||
,m_yRotation(0)
|
,m_yRotation(0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user