From 62d0239dd5f8981aceb567eed5e7cae228c33061 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 17 Nov 2002 19:36:49 +0000 Subject: [PATCH] Updated for DirectDB 0.9.15 (thanks Denis!) --- 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 46e0e51bf..ad8fb7c34 100644 --- a/configure.in +++ b/configure.in @@ -783,7 +783,7 @@ CheckDirectFB() AC_MSG_ERROR([*** pkg-config too old; version 0.7 or better required.]) fi - DIRECTFB_REQUIRED_VERSION=0.9.14 + DIRECTFB_REQUIRED_VERSION=0.9.15 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 50a0e0912..49aad6625 100644 --- a/src/video/directfb/SDL_DirectFB_video.c +++ b/src/video/directfb/SDL_DirectFB_video.c @@ -394,7 +394,7 @@ int DirectFB_VideoInit(_THIS, SDL_PixelFormat *vformat) goto error; } - ret = dfb->CreateEventBuffer (dfb, DICAPS_ALL, &events); + ret = dfb->CreateInputEventBuffer (dfb, DICAPS_ALL, DFB_FALSE, &events); if (ret) { SetDirectFBerror ("dfb->CreateEventBuffer", ret);