Switch to more compact TextGlyph vertex format
This commit is contained in:
@@ -54,7 +54,7 @@ namespace OpenVulkano
|
||||
texts.push_back(std::make_pair("\u0410\u0411\u0412\u041F", TextConfig()));
|
||||
texts.push_back(std::make_pair("Unsupported glyphs \u1E30\u1E31 are coming", TextConfig()));
|
||||
texts.push_back(std::make_pair("This is first line\nSecond gg line\nThird G line", TextConfig()));
|
||||
texts[1].second.backgroundColor.a = 1;
|
||||
texts[1].second.backgroundColor.a = 255;
|
||||
|
||||
const int N = texts.size();
|
||||
auto& resourceLoader = ResourceLoader::GetInstance();
|
||||
|
||||
Reference in New Issue
Block a user