--- a/configure.in Tue Dec 18 02:29:58 2001 +0000
+++ b/configure.in Thu Dec 20 22:46:09 2001 +0000
@@ -746,7 +746,7 @@
AC_MSG_ERROR([*** pkg-config too old; version 0.5 or better required.])
fi
- DIRECTFB_REQUIRED_VERSION=0.9.7
+ DIRECTFB_REQUIRED_VERSION=0.9.8
if $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb ; then
DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags directfb`
--- a/src/video/directfb/SDL_DirectFB_video.c Tue Dec 18 02:29:58 2001 +0000
+++ b/src/video/directfb/SDL_DirectFB_video.c Thu Dec 20 22:46:09 2001 +0000
@@ -290,7 +290,7 @@
return -1;
}
- format->BitsPerPixel = BITS_PER_PIXEL(pixelformat);
+ format->BitsPerPixel = DFB_BITS_PER_PIXEL(pixelformat);
return 0;
}