comparison src/video/vgl/SDL_vglvideo.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 19418e4422cb
children 8d9bb0cf2c2a
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h"
22 23
23 /* libvga based SDL video driver implementation. 24 /* libvga based SDL video driver implementation.
24 */ 25 */
25 26
26 #include <err.h> 27 #include <err.h>
546 vminfop->Type = VIDBUF8; 547 vminfop->Type = VIDBUF8;
547 break; 548 break;
548 case V_INFO_MM_VGAX: 549 case V_INFO_MM_VGAX:
549 vminfop->Type = VIDBUF8X; 550 vminfop->Type = VIDBUF8X;
550 break; 551 break;
551 #if defined(__FreeBSD_version) && __FreeBSD_version >= 500000 552 #if defined(__FREEBSD__) && __FreeBSD_version >= 500000
552 case V_INFO_MM_DIRECT: 553 case V_INFO_MM_DIRECT:
553 vminfop->PixelBytes = minfo.vi_pixel_size; 554 vminfop->PixelBytes = minfo.vi_pixel_size;
554 switch (vminfop->PixelBytes) { 555 switch (vminfop->PixelBytes) {
555 case 2: 556 case 2:
556 vminfop->Type = VIDBUF16; 557 vminfop->Type = VIDBUF16;