diff options
author | truelight <truelight@openttd.org> | 2007-09-13 14:44:49 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-09-13 14:44:49 +0000 |
commit | b21093ea8f8a1672263560e82c1b4c8b692c9557 (patch) | |
tree | ccf762280ae82072aa2704963f4342a94e05f728 | |
parent | f1336fba6821591cd2a9b40d8fa4b2f6c6e2423c (diff) | |
download | openttd-b21093ea8f8a1672263560e82c1b4c8b692c9557.tar.xz |
(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded
-rw-r--r-- | src/blitter/factory.hpp | 3 |
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; } } |