Mercurial > sdl-ios-xcode
diff src/video/directfb/SDL_DirectFB_events.c @ 3037:490f3e4fe753
Added DFB_VERSION_ATLEAST macro
First attempt at replacing MakeSubSurface for pre 1.2.0 ==> Scaling not yet working
author | Couriersud <couriersud@arcor.de> |
---|---|
date | Tue, 13 Jan 2009 21:17:38 +0000 |
parents | d72a0dd80e8b |
children | 62d4992e5a92 |
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_events.c Tue Jan 13 19:31:06 2009 +0000 +++ b/src/video/directfb/SDL_DirectFB_events.c Tue Jan 13 21:17:38 2009 +0000 @@ -48,7 +48,7 @@ static void DirectFB_SetContext(_THIS, SDL_WindowID id) { -#if (DIRECTFB_MAJOR_VERSION >= 1) +#if (DFB_VERSION_ATLEAST(1,0,0)) /* FIXME: does not work on 1.0/1.2 with radeon driver * the approach did work with the matrox driver * This has simply no effect.