extensions status indicator in title bar

This commit is contained in:
2019-01-31 14:16:29 +01:00
parent c451acb6bc
commit b5c3325e1f
2 changed files with 8 additions and 0 deletions

View File

@@ -815,6 +815,11 @@ void App::initLayout()
version_label->set_text(g_version);
}
if (auto x = layout[main_id]->find<NodeBorder>("ext-fbf"))
{
x->m_color = ShaderManager::ext_framebuffer_fetch ? glm::vec4(0, 1, 0, 1) : glm::vec4(1, 0, 0, 1);
}
brush_update();
TextureManager::load("data/paper.jpg");