aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2008-03-26 18:03:30 +0000
committerAndreas Oberritter <obi@opendreambox.org>2008-03-26 18:03:30 +0000
commite6c79f60c611f9734b8d237ba11537c66a35e2b3 (patch)
tree672d427a1dfffc49af0febd46274392e765f20c4
parent601ea61bbe6efa01e213d4507013a3750f1243d2 (diff)
downloadenigma2-e6c79f60c611f9734b8d237ba11537c66a35e2b3.tar.gz
enigma2-e6c79f60c611f9734b8d237ba11537c66a35e2b3.zip
fix for SDL, doesn't display any text on the blue screen though...
-rw-r--r--main/bsod.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/bsod.cpp b/main/bsod.cpp
index 5eb6b129..3352a29e 100644
--- a/main/bsod.cpp
+++ b/main/bsod.cpp
@@ -6,6 +6,9 @@
#include <lib/base/smartptr.h>
#include <lib/gdi/grc.h>
#include <lib/gdi/gfbdc.h>
+#ifdef WITH_SDL
+#include <lib/gdi/sdl.h>
+#endif
#include "version.h"
@@ -92,8 +95,13 @@ void bsodFatal()
system(cmd);
}
+#ifdef WITH_SDL
+ ePtr<gSDLDC> my_dc;
+ gSDLDC::getInstance(my_dc);
+#else
ePtr<gFBDC> my_dc;
gFBDC::getInstance(my_dc);
+#endif
{
gPainter p(my_dc);