slightly better logging messages
This commit is contained in:
parent
900fba4f12
commit
7db391195d
1 changed files with 2 additions and 1 deletions
|
@ -135,6 +135,7 @@ bool Atlas::generate(bool useCache,
|
|||
foundAtlasCacheImage = true;
|
||||
if(atlasImage.load(getAtlasPath())){
|
||||
foundAtlasCacheImage = true;
|
||||
cout << "Atlas::generate() -> found cached atlas image" << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -224,7 +225,7 @@ bool Atlas::generate(bool useCache,
|
|||
// Compute atlas layout - pack glyphs
|
||||
packer.pack(glyphs.data(), glyphs.size());
|
||||
if(!useCache || !foundAtlasCacheImage){
|
||||
cout << "did not find atlas image for " << fontPath << ", generating" << endl;
|
||||
cout << "Atlas::generate() -> didn't find / not using atlas image for " << fontPath << ", generating" << endl;
|
||||
// Get final atlas dimensions
|
||||
int width = 0, height = 0;
|
||||
packer.getDimensions(width, height);
|
||||
|
|
Loading…
Reference in a new issue