Mercurial > sdl-ios-xcode
comparison src/video/fbcon/SDL_fbvideo.c @ 4258:ca02f877d055 SDL-1.2
Fixed compile issue
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 28 Sep 2009 07:58:58 +0000 |
parents | ba587a51f899 |
children |
comparison
equal
deleted
inserted
replaced
4257:14195cfdb66e | 4258:ca02f877d055 |
---|---|
1116 if (vinfo.bits_per_pixel == 16) { | 1116 if (vinfo.bits_per_pixel == 16) { |
1117 blitFunc = (rotate == FBCON_ROTATE_NONE || | 1117 blitFunc = (rotate == FBCON_ROTATE_NONE || |
1118 rotate == FBCON_ROTATE_UD) ? | 1118 rotate == FBCON_ROTATE_UD) ? |
1119 FB_blit16 : FB_blit16blocked; | 1119 FB_blit16 : FB_blit16blocked; |
1120 } else { | 1120 } else { |
1121 #ifdef FBCON_DEBUG | |
1121 fprintf(stderr, "Init vinfo:\n"); | 1122 fprintf(stderr, "Init vinfo:\n"); |
1122 print_vinfo(&vinfo); | 1123 print_vinfo(&vinfo); |
1124 #endif | |
1123 SDL_SetError("Using software buffer, but no blitter " | 1125 SDL_SetError("Using software buffer, but no blitter " |
1124 "function is available for %d bpp.", | 1126 "function is available for %d bpp.", |
1125 vinfo.bits_per_pixel); | 1127 vinfo.bits_per_pixel); |
1126 return(NULL); | 1128 return(NULL); |
1127 } | 1129 } |