summaryrefslogtreecommitdiff
path: root/gdk/directfb
diff options
context:
space:
mode:
authorMichael David Emmel <memmel@src.gnome.org>2006-10-11 15:42:35 +0000
committerMichael David Emmel <memmel@src.gnome.org>2006-10-11 15:42:35 +0000
commit21f1e75d94e39c7e76dd1c8b7ab82fa692b42a19 (patch)
treef951c954d7cf69dd300415f6c602582d74580933 /gdk/directfb
parentf6783c746673495080d737d2eed67f55188a34a5 (diff)
downloadgtk+-21f1e75d94e39c7e76dd1c8b7ab82fa692b42a19.tar.gz
gdkpixmap-directfb.c: add missing RGB24 case (#361176)
Diffstat (limited to 'gdk/directfb')
-rw-r--r--gdk/directfb/gdkpixmap-directfb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/directfb/gdkpixmap-directfb.c b/gdk/directfb/gdkpixmap-directfb.c
index 0525a81a54..62b9627508 100644
--- a/gdk/directfb/gdkpixmap-directfb.c
+++ b/gdk/directfb/gdkpixmap-directfb.c
@@ -166,6 +166,8 @@ gdk_pixmap_new (GdkDrawable *drawable,
format = DSPF_RGB16;
break;
case 24:
+ format = DSPF_RGB24;
+ break;
case 32:
format = DSPF_RGB32;
break;