aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi/gfbdc.cpp
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-08-28 23:13:58 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-08-28 23:13:58 +0000
commit301bab11f8453a6899153b7be338a352803b22cb (patch)
tree5df637e4d8812cb83f5073f5160625aee65c3937 /lib/gdi/gfbdc.cpp
parent1f5b1a20e4de369c197de1dae8fcb368e3e10b26 (diff)
downloadenigma2-301bab11f8453a6899153b7be338a352803b22cb.tar.gz
enigma2-301bab11f8453a6899153b7be338a352803b22cb.zip
added setup screens
Diffstat (limited to 'lib/gdi/gfbdc.cpp')
-rw-r--r--lib/gdi/gfbdc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gdi/gfbdc.cpp b/lib/gdi/gfbdc.cpp
index 7130b0c7..8dc0a7d2 100644
--- a/lib/gdi/gfbdc.cpp
+++ b/lib/gdi/gfbdc.cpp
@@ -14,7 +14,7 @@ gFBDC::gFBDC()
if (!fb->Available())
eFatal("no framebuffer available");
- fb->SetMode(720, 576, 8);
+ fb->SetMode(720, 576, 32);
for (int y=0; y<576; y++) // make whole screen transparent
memset(fb->lfb+y*fb->Stride(), 0x00, fb->Stride());
@@ -22,8 +22,8 @@ gFBDC::gFBDC()
surface.type = 0;
surface.x = 720;
surface.y = 576;
- surface.bpp = 8;
- surface.bypp = 1;
+ surface.bpp = 32;
+ surface.bypp = 4;
surface.stride = fb->Stride();
surface.data = fb->lfb;
surface.clut.colors=256;