(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded

This commit is contained in:
truelight 2007-09-13 14:44:49 +00:00
parent f1336fba68
commit b21093ea8f
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
}