search GLSL extensions

This commit is contained in:
2019-07-29 13:35:54 +02:00
parent 563b4ff86f
commit 73485cde01
4 changed files with 24 additions and 12 deletions

View File

@@ -1244,7 +1244,7 @@ void App::initLayout()
if (auto t = x->find<NodeText>("ext-flt-text"))
{
int bits = ShaderManager::ext_texture_float ? 32 : 16;
t->set_text_format("flt%d", bits);
t->set_text_format("F%d", bits);
}
x->m_color = glm::vec4(0, 1, 0, 1);
}