Skip to content

Commit

Permalink
include name in atlas log
Browse files Browse the repository at this point in the history
  • Loading branch information
rtri committed Apr 15, 2017
1 parent ff98209 commit 5926265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Rendering/Textures/TextureAtlas.cpp
Expand Up @@ -156,7 +156,7 @@ void CTextureAtlas::CreateTexture()
tex.Save(name + "-" + IntToString(atlasSize.x) + "x" + IntToString(atlasSize.y) + ".png");
}
} else {
LOG_L(L_ERROR, "[TextureAtlas::%s] failed to map PBO (atlasSize=<%d,%d>)", __func__, atlasSize.x, atlasSize.y);
LOG_L(L_ERROR, "[TextureAtlas::%s] failed to map PBO for atlas \"%s\" (size=<%d,%d>)", __func__, name.c_str(), atlasSize.x, atlasSize.y);
}

pbo.UnmapBuffer();
Expand Down

0 comments on commit 5926265

Please sign in to comment.