From 24c1ef56a475f988d84bda1cbb4162cb220ba9e9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 28 Sep 2009 07:58:58 +0000 Subject: [PATCH] Fixed compile issue --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403930 --- src/video/fbcon/SDL_fbvideo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/fbcon/SDL_fbvideo.c b/src/video/fbcon/SDL_fbvideo.c index d6ece3147..81a89daa4 100644 --- a/src/video/fbcon/SDL_fbvideo.c +++ b/src/video/fbcon/SDL_fbvideo.c @@ -1118,8 +1118,10 @@ static SDL_Surface *FB_SetVideoMode(_THIS, SDL_Surface *current, rotate == FBCON_ROTATE_UD) ? FB_blit16 : FB_blit16blocked; } else { +#ifdef FBCON_DEBUG fprintf(stderr, "Init vinfo:\n"); print_vinfo(&vinfo); +#endif SDL_SetError("Using software buffer, but no blitter " "function is available for %d bpp.", vinfo.bits_per_pixel);