Howdy,
I notice this in OpenGLDemo.cpp:
if (OpenGLShaderProgram::Uniform* uni = uniforms->projectionMatrix) openGLContext.extensions.glUniformMatrix4fv (uni->uniformID, 1, 0, getProjectionMatrix().mat);
Is there any reason why it's not:
if (uniforms->projectionMatrix) uniforms->projectionMatrix->setMatrix4(getProjectionMatrix().mat, 1, 0);
Along with several similar lines..
Cheers, Yair