mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:50:06 +00:00
Placefile icon render error logging
This commit is contained in:
parent
00c297094e
commit
922e875b07
1 changed files with 3 additions and 5 deletions
|
|
@ -499,11 +499,9 @@ void PlacefileIcons::Impl::UpdateTextureBuffer()
|
||||||
auto it = currentIconFiles_.find(di->fileNumber_);
|
auto it = currentIconFiles_.find(di->fileNumber_);
|
||||||
if (it == currentIconFiles_.cend())
|
if (it == currentIconFiles_.cend())
|
||||||
{
|
{
|
||||||
// No file found
|
// No file found. Should not get here, but insert empty data to match
|
||||||
logger_->trace("Could not find file number: {}", di->fileNumber_);
|
// up with data already buffered
|
||||||
|
logger_->error("Could not find file number: {}", di->fileNumber_);
|
||||||
// Should not get here, but insert empty data to match up with data
|
|
||||||
// already buffered
|
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
textureBuffer_.insert(
|
textureBuffer_.insert(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue