void Program::link() const
{
    m_linked = false;

    if (!binaryImplementation().updateProgramLinkSource(this))
        return;

    glLinkProgram(id());

    m_linked = checkLinkStatus();
	m_dirty = false;

    updateUniforms();
    updateUniformBlockBindings();
}
Exemple #2
0
ProgramBinary * Program::getBinary() const
{
    return binaryImplementation().getProgramBinary(this);
}