(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded
--- a/src/blitter/factory.hpp Thu Sep 13 12:28:53 2007 +0000
+++ b/src/blitter/factory.hpp Thu Sep 13 14:44:49 2007 +0000
@@ -5,6 +5,7 @@
#include "base.hpp"
#include "../string.h"
+#include "../debug.h"
#include <string>
#include <map>
@@ -74,6 +75,8 @@
Blitter *newb = b->CreateInstance();
delete *GetActiveBlitter();
*GetActiveBlitter() = newb;
+
+ DEBUG(driver, 1, "Successfully %s blitter '%s'",StrEmpty(name) ? "probed" : "loaded", bname);
return newb;
}
}