From ffb736d80f8a05b3d7538cca2dc3e5c3e48b2202 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Sat, 16 Aug 2014 15:27:30 +0200 Subject: [PATCH] Log surface load failures at DEBUG level instead of ERROR Since we no longer check file existance before attempting a load, load failures are often not errors. For example a missing preview image is harmless. --- src/surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surface.cpp b/src/surface.cpp index 73b2854..5bfe479 100644 --- a/src/surface.cpp +++ b/src/surface.cpp @@ -295,7 +295,7 @@ unique_ptr OffscreenSurface::loadImage( { SDL_Surface *raw = loadPNG(img, loadAlpha); if (!raw) { - ERROR("Couldn't load surface '%s'\n", img.c_str()); + DEBUG("Couldn't load surface '%s'\n", img.c_str()); return unique_ptr(); }