From b21093ea8f8a1672263560e82c1b4c8b692c9557 Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 13 Sep 2007 14:44:49 +0000 Subject: (svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded --- src/blitter/factory.hpp | 3 +++ 1 file changed, 3 insertions(+) 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 #include @@ -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; } } -- cgit v1.2.3-70-g09d2