Fix debug compilation errors

pull/3/head
laikh 2019-08-31 23:22:17 +02:00 committed by Li Linfeng
parent 9c371c891c
commit 562dc24641
1 changed files with 2 additions and 2 deletions

View File

@ -129,13 +129,13 @@ Texture* TextureInfo::load(const fs::path& name)
if (bumpHeight == 0.0f)
{
DPRINTF(LOG_LEVEL_ERROR, "Loading texture: %s\n", name.c_str());
DPRINTF(LOG_LEVEL_ERROR, "Loading texture: %s\n", name);
// cout << "Loading texture: " << name << '\n';
return LoadTextureFromFile(name, addressMode, mipMode);
}
DPRINTF(LOG_LEVEL_ERROR, "Loading bump map: %s\n", name.c_str());
DPRINTF(LOG_LEVEL_ERROR, "Loading bump map: %s\n", name);
// cout << "Loading texture: " << name << '\n';
return LoadHeightMapFromFile(name, bumpHeight, addressMode);