From 562dc24641d9b2c6782ef199e9bb5b4513b00b78 Mon Sep 17 00:00:00 2001 From: laikh Date: Sat, 31 Aug 2019 23:22:17 +0200 Subject: [PATCH] Fix debug compilation errors --- src/celengine/texmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/celengine/texmanager.cpp b/src/celengine/texmanager.cpp index f06fdd21..1dbcde24 100644 --- a/src/celengine/texmanager.cpp +++ b/src/celengine/texmanager.cpp @@ -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);