Mercurial > sdl-ios-xcode
diff src/video/vgl/SDL_vglvideo.c @ 1565:57431b199aed
Fixed bug #52
Integrated most of the NetBSD and DragonFly patches at:
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/SDL/patches/
Thanks to Thomas Klausner for defailed information on the patches
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Mar 2006 08:54:50 +0000 |
parents | 8d9bb0cf2c2a |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/video/vgl/SDL_vglvideo.c Tue Mar 21 07:02:34 2006 +0000 +++ b/src/video/vgl/SDL_vglvideo.c Tue Mar 21 08:54:50 2006 +0000 @@ -555,7 +555,7 @@ case V_INFO_MM_VGAX: vminfop->Type = VIDBUF8X; break; -#if defined(__FREEBSD__) && __FreeBSD_version >= 500000 +#if defined(__FREEBSD__) && (defined(__DragonFly__) || __FreeBSD_version >= 500000) case V_INFO_MM_DIRECT: vminfop->PixelBytes = minfo.vi_pixel_size; switch (vminfop->PixelBytes) {