kwin: Fix an uninitialized member in GLShader.
mLocationsResolved wasn't being initialized in one of the constructors.
This commit is contained in:
parent
8dc537af57
commit
175b45c5de
1 changed files with 5 additions and 5 deletions
|
@ -713,12 +713,12 @@ GLShader::GLShader()
|
|||
}
|
||||
|
||||
GLShader::GLShader(const QString& vertexfile, const QString& fragmentfile)
|
||||
: mProgram(0)
|
||||
, mValid(false)
|
||||
, mLocationsResolved(false)
|
||||
, mTextureWidth(-1.0f)
|
||||
, mTextureHeight(-1.0f)
|
||||
{
|
||||
mValid = false;
|
||||
mProgram = 0;
|
||||
mTextureWidth = -1.0f;
|
||||
mTextureHeight = -1.0f;
|
||||
|
||||
loadFromFiles(vertexfile, fragmentfile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue