mirror of
https://github.com/yawut/SDL.git
synced 2026-06-13 12:10:35 -05:00
*** empty log message ***
This commit is contained in:
parent
695758527d
commit
dc8a7d752f
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user