Undeclared variable at OgreGLSLESProgramPipeline.cpp

Description

At line 141, col 48:
glGetProgramBinaryOES(mGLHandle, binaryLength, NULL, (GLenum *)newMicrocode->getPt ....

mGLHandle was not declared. Variable is used also at line 151.

Possible solution (needs to be cross-checked):
Add the declaration to the scope:
GLuint mGLHandle = mFragmentProgram->getGLSLProgram()->getGLProgramHandle();

Environment

OpenGLES2 cross-compiling for NVidia Tegra 3 device under Ubuntu variant.

Assignee

M

Reporter

Andre Linarth

Labels

None

Time tracking

5m

Components

Fix versions

Affects versions

Priority

Major
Configure