From 71f34b1b09dd9eb88fe6f57da63b6dc61a3178db Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 20 Dec 2001 22:46:09 +0000 Subject: [PATCH] *** empty log message *** --- configure.in | 2 +- src/video/directfb/SDL_DirectFB_video.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index b28884685..fd42e63ce 100644 --- a/configure.in +++ b/configure.in @@ -746,7 +746,7 @@ CheckDirectFB() 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` diff --git a/src/video/directfb/SDL_DirectFB_video.c b/src/video/directfb/SDL_DirectFB_video.c index 0a4da6b0a..8050eb00a 100644 --- a/src/video/directfb/SDL_DirectFB_video.c +++ b/src/video/directfb/SDL_DirectFB_video.c @@ -290,7 +290,7 @@ static int DFBToSDLPixelFormat (DFBSurfacePixelFormat pixelformat, SDL_PixelForm return -1; } - format->BitsPerPixel = BITS_PER_PIXEL(pixelformat); + format->BitsPerPixel = DFB_BITS_PER_PIXEL(pixelformat); return 0; }