GL3: Temp bugfix

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 11 years ago
parent 6a207ffd76
commit 66126429c2

@ -755,6 +755,10 @@ void CDriverGL3::setupUniforms(TProgram program)
CProgramDrvInfosGL3 *drvInfo = static_cast<CProgramDrvInfosGL3 *>(di); CProgramDrvInfosGL3 *drvInfo = static_cast<CProgramDrvInfosGL3 *>(di);
GLuint progId = drvInfo->getProgramId(); GLuint progId = drvInfo->getProgramId();
// FIXME
if (!progId)
return;
uint mvpIndex = p->getUniformIndex(CProgramIndex::ModelViewProjection); uint mvpIndex = p->getUniformIndex(CProgramIndex::ModelViewProjection);
if (mvpIndex != ~0) if (mvpIndex != ~0)
{ {

Loading…
Cancel
Save