1.1 --- a/src/video/directfb/SDL_DirectFB_video.c Fri Feb 13 18:01:22 2004 +0000
1.2 +++ b/src/video/directfb/SDL_DirectFB_video.c Fri Feb 13 18:39:01 2004 +0000
1.3 @@ -189,10 +189,10 @@
1.4 return DSPF_UNKNOWN;
1.5 }
1.6
1.7 -static DFBEnumerationResult EnumModesCallback (unsigned int width,
1.8 - unsigned int height,
1.9 - unsigned int bpp,
1.10 - void *data)
1.11 +static DFBEnumerationResult EnumModesCallback (int width,
1.12 + int height,
1.13 + int bpp,
1.14 + void *data)
1.15 {
1.16 SDL_VideoDevice *this = (SDL_VideoDevice *)data;
1.17 struct DirectFBEnumRect *enumrect;
1.18 @@ -206,8 +206,8 @@
1.19 return DFENUM_CANCEL;
1.20 }
1.21
1.22 - enumrect->r.w = width;
1.23 - enumrect->r.h = height;
1.24 + enumrect->r.w = (Uint16)width;
1.25 + enumrect->r.h = (Uint16)height;
1.26 enumrect->next = enumlist;
1.27
1.28 enumlist = enumrect;
1.29 @@ -1156,11 +1156,11 @@
1.30 /* We can only hide or show the default cursor */
1.31 if ( cursor == NULL )
1.32 {
1.33 - SetCursorOpacity(HIDDEN->layer, 0);
1.34 + HIDDEN->layer->SetCursorOpacity(HIDDEN->layer, 0x00);
1.35 }
1.36 else
1.37 {
1.38 - SetCursorOpacity(HIDDEN->layer, 256);
1.39 + HIDDEN->layer->SetCursorOpacity(HIDDEN->layer, 0xFF);
1.40 }
1.41 return 1;
1.42 }