coverity#1215398 Uninitialized scalar field

Change-Id: I5e18b4d824931e489af3d8625e06974f2b488e75
This commit is contained in:
Caolán McNamara 2014-05-23 09:07:49 +01:00
parent 5030424290
commit 9de3fd2da6

View File

@ -249,11 +249,29 @@ private:
GLint m_RenderVertexID;
GLint m_RenderTexCoordID;
ShaderResources():
m_3DProID(0),
m_TextProID(0),
m_CommonProID(0),
m_RenderProID(0) {}
ShaderResources()
: m_3DProID(0)
, m_3DProjectionID(0)
, m_3DViewID(0)
, m_3DModelID(0)
, m_3DNormalMatrixID(0)
, m_3DVertexID(0)
, m_3DNormalID(0)
, m_TextProID(0)
, m_TextMatrixID(0)
, m_TextVertexID(0)
, m_TextTexCoordID(0)
, m_TextTexID(0)
, m_CommonProID(0)
, m_2DVertexID(0)
, m_2DColorID(0)
, m_MatrixID(0)
, m_RenderProID(0)
, m_RenderTexID(0)
, m_RenderVertexID(0)
, m_RenderTexCoordID(0)
{
}
~ShaderResources()
{