diff --git a/src/graphics/stkmeshscenenode.cpp b/src/graphics/stkmeshscenenode.cpp index 8365c1897..1825e5434 100644 --- a/src/graphics/stkmeshscenenode.cpp +++ b/src/graphics/stkmeshscenenode.cpp @@ -225,7 +225,7 @@ void STKMeshSceneNode::render() glDisable(GL_CULL_FACE); if (update_each_frame) updatevbo(); - glUseProgram(MeshShader::ObjectPass1Shader::template getInstance()->Program); + glUseProgram(MeshShader::ObjectPass1Shader::getInstance()->Program); // Only untextured for (unsigned i = 0; i < GLmeshes.size(); i++) {