Solve new compilation error

This commit is contained in:
Karl Bladin
2016-04-04 12:27:23 -04:00
parent ff74f0794c
commit 95eca2f9b0

View File

@@ -130,7 +130,7 @@ namespace openspace {
// _programObject->setUniform("camdir", camSpaceEye);
_programObject->setUniform("ViewProjection", data.camera.viewProjectionMatrix());
_programObject->setUniform("ModelTransform", transform);
setPscUniforms(_programObject.get(), &data.camera, data.position);
setPscUniforms(*_programObject.get(), data.camera, data.position);
glEnable(GL_CULL_FACE);
glCullFace(GL_BACK);