Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3036:76a1692fcec5 | 3037:490f3e4fe753 |
---|---|
46 static int DirectFB_TranslateButton(DFBInputDeviceButtonIdentifier button); | 46 static int DirectFB_TranslateButton(DFBInputDeviceButtonIdentifier button); |
47 | 47 |
48 static void | 48 static void |
49 DirectFB_SetContext(_THIS, SDL_WindowID id) | 49 DirectFB_SetContext(_THIS, SDL_WindowID id) |
50 { | 50 { |
51 #if (DIRECTFB_MAJOR_VERSION >= 1) | 51 #if (DFB_VERSION_ATLEAST(1,0,0)) |
52 /* FIXME: does not work on 1.0/1.2 with radeon driver | 52 /* FIXME: does not work on 1.0/1.2 with radeon driver |
53 * the approach did work with the matrox driver | 53 * the approach did work with the matrox driver |
54 * This has simply no effect. | 54 * This has simply no effect. |
55 */ | 55 */ |
56 | 56 |