git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601ea61
)
fix for SDL, doesn't display any text on the blue screen though...
author
Andreas Oberritter
<obi@opendreambox.org>
Wed, 26 Mar 2008 18:03:30 +0000
(18:03 +0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Wed, 26 Mar 2008 18:03:30 +0000
(18:03 +0000)
main/bsod.cpp
patch
|
blob
|
history
diff --git
a/main/bsod.cpp
b/main/bsod.cpp
index 5eb6b129681a0d0801f699dbf51592c85f66b90e..3352a29e9276442a2061380dda826693febbc6fd 100644
(file)
--- 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);