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 | d146a78f3939596fcc41fdacc059385032400da6 (patch) | |
tree | ccf762280ae82072aa2704963f4342a94e05f728 /src/blitter | |
parent | ca161c8e72efc673c23662d62be05a9f5e16da0e (diff) | |
download | openttd-d146a78f3939596fcc41fdacc059385032400da6.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.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; } } |