diff --git a/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp b/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp index 6e498eb47..8c21967eb 100644 --- a/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp +++ b/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp @@ -755,6 +755,10 @@ void CDriverGL3::setupUniforms(TProgram program) CProgramDrvInfosGL3 *drvInfo = static_cast(di); GLuint progId = drvInfo->getProgramId(); + // FIXME + if (!progId) + return; + uint mvpIndex = p->getUniformIndex(CProgramIndex::ModelViewProjection); if (mvpIndex != ~0) {