summaryrefslogtreecommitdiff
path: root/src/blitter
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-09-13 14:44:49 +0000
committertruelight <truelight@openttd.org>2007-09-13 14:44:49 +0000
commitb21093ea8f8a1672263560e82c1b4c8b692c9557 (patch)
treeccf762280ae82072aa2704963f4342a94e05f728 /src/blitter
parentf1336fba6821591cd2a9b40d8fa4b2f6c6e2423c (diff)
downloadopenttd-b21093ea8f8a1672263560e82c1b4c8b692c9557.tar.xz
(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded
Diffstat (limited to 'src/blitter')
-rw-r--r--src/blitter/factory.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blitter/factory.hpp b/src/blitter/factory.hpp
index 3e7fc954a..494925613 100644
--- a/src/blitter/factory.hpp
+++ b/src/blitter/factory.hpp
@@ -5,6 +5,7 @@
#include "base.hpp"
#include "../string.h"
+#include "../debug.h"
#include <string>
#include <map>
@@ -74,6 +75,8 @@ public:
Blitter *newb = b->CreateInstance();
delete *GetActiveBlitter();
*GetActiveBlitter() = newb;
+
+ DEBUG(driver, 1, "Successfully %s blitter '%s'",StrEmpty(name) ? "probed" : "loaded", bname);
return newb;
}
}